Navigate to next symbol, in IntelliJ idea (pycharm, rubymine, etc)? - intellij-idea

In IntelliJ idea, one can navigate to a symbol using Ctrl+Alt+Shift+N and the docs are here:
http://www.jetbrains.com/idea/webhelp/navigating-to-class-file-or-symbol-by-name.html
Is there a shortcut way to visit the "next" symbol in the list?
A possible use case would be "visit every underscore underscore unicode method in my project".

When the dialog is opened, click on the pin (Show All in View). You can then use the shortcut "Next Occurrence" (ctrl+alt+down).

Related

How to make IntelliJ display the Javadoc of autocompletion suggestions?

IntelliJ display Java code auto-completion suggestions in a drop-down menu after pressing CtrlSpace. All other IDEs manage to display the corresponding Javadoc if available. How to get IntelliJ to do that?
How to see JavaDoc in IntelliJ IDEA? refers to displaying it on a mouse hover event whereas I'm missing the Javadoc from code-completion suggestions.
Once you put a dot and the suggestions appear, press F1 (which is the default shortcut for "Quick Documentation" in most keymaps). The documentation for the currently selected method then appears as a card as show in the image. Then you can either use the up/down arrow keys or start typing the method name to select it. The documentation card will reflect accordingly.
You can also click on the pin icon on top right of the documentation card to expand it if required.

Keyboard shortcut to navigate between IntelliJ views

In IntelliJ, there are some underlined numbers on the side menus :
1: Project
7: Structure
Like below :
So there is probably a keyboard shortcut which allows to navigate from one view to another by just entering the view number.
I tried the different digits with Ctrl, Ctrl+Shift, Ctrl+Alt etc but could not find the right shortcut.
How can I easily navigate between those views?
The shortcut is Alt + [number]
ps. There's a plugin force-shortcuts if you wanna replace your mouse click actions with shortcuts (https://github.com/treytrahin/force-shortcuts-intellij-plugin). It's super annoying but you learn really fast. And by the way here are such plugins to most editors and IDEs.
ALT+F1 opens a window where you can choose one of the views by pressing the corresponding number.
Info: It actually opens the selected file in the selected view - which is not that bad maybe - but not 100% what you want?
Also there are cool things like pressing C to open a file chosen in Project Explorer directly in Explorer for example.

Easy toggling to next parameter in IntelliJ

Let's say you are in a method with two parameters and you filled the first one:
foo("test",
so the caret is right after second "t" letter. It's possible to hit Tab and caret moves just after the comma in Eclipse. Is there such a feature in Intellij IDEA?
See the related question: IntelliJ equivalent to Eclipse TAB and vote for this feature in YouTrack.

Is there a search history in Intellij IDEA?

A feature that I used a lot in Eclipse is the Search History, which remembers searches you performed in the past and gives you quick access to them. I cannot seem to replicate this functionality in IntelliJ - it seems that I have to start a new search each time. Does this feature exist, or does anyone know of a plugin that provides such a feature?
I think what you're looking for is the "Open in new tab" checkbox at the bottom of the "Find in path" dialog. For me by default it was disabled. When you enable it, you will have search results open in separate tabs every time, so accessing historic searches will be much easier.
For recent "Find Usages", open the "Find" window (Cmd 3); click the settings button in the "Find" window toolbar; in the settings dialog check the checkbox "Open in new tab".
Inside 'Find' dock press Alt+Down to see 'Recent Find Usages' dropdown.
Search history intellij alt up or alt down.
For in-file search there is Recent Searches drop down if you press the down arrow key, the same is available for the Find in Path dialog.
Alt+down arrow is what you are looking for...
First press Ctrl+Shift+f and then alt+down arrow
for more info check IntelliJ website:
https://www.jetbrains.com/help/idea/searching-everywhere.html#search_all
Using Alt+down works to see previous Finds, but by default only 1 Tab is open.
Of course the setting for opening new Finds in a new Tab can be found in a slightly different place than when the first answer was posted. It can now be found by right-clicking the top bar (or the "Show options menu" gear-icon) -> View Options -> Open Results in New Tab.
Click on the magnifying icon in the find window and you will see it. It is not intutive. I'd expect it to list the previous searches when I click on the text box window.
just when you user find by path, right corner of the search you will find the "open
in find window" there you will see history as shown in the image and you can pin the search history you need . just hit the <- arrow button in the left panel of find window, you would see the history

Xcode question: Quickly jump to a particular selector/class/symbol?

What is the quickest way to jump to a particular symbol/selector/class in Xcode? (I'm looking for keyboard shortcuts preferably).
Right now, I know two ways of doing this:
“Open Quickly” > Click on the Symbols dropdown menu at the top of the editor > Select the selector to jump to it.
Click on “Project Symbols” in the “Groups and Files” section on the left sidebar, and type in a name in the Search text field in the top right of the XCode window.
Is there a quicker way of doing this? (If I could even assign a shortcut to jump to the “Project Symbols”, that would suffice for me. Alternatively, if I can find a keyboard shortcut to jump to the symbol dropdown above an editor that would do it to).
For experienced Xcode programmers, what do you use to jump to a symbol?
In Xcode 3.2, the "Open Quickly" command (Shift-Control-D) lets you type in selectors and class names as well as file names. This would at least get you close to what you wanted.
Your idea about using the "Symbols" drop-down also works. You can use the keystroke Control-2 to bring up the Symbols drop-down menu, and then use the arrow keys, or start typing the name of the method that you want to reach.
Edit: In Xcode 4, the "Symbols" drop-down appears when pressing Control-6. You can change this in the Xcode settings by changing the key binding for "Standart Editor > Show Document Items".
If you're looking at the symbol in a source file and want to jump to its definition, ⌘-click it.
(command + double click) on your symbol/selector/class in any place of your implementation to jump to them
(option + double click) on framework classes/selectors to jump to their reference in help->documentation
One (arguably crude) way to do it seems to be as follows:
This is based on the fact that the Search field at the top right of the Xcode window seems to change behavior depending on what is selected in the Groups & Files sidebar.
Select “Project Symbols” in the “Groups & Files” sidebar
Press ⌥⌘F (That is Command+Option+F) to jump to the Search field
Enter the symbol to jump to, and an outline will quickly show up
(this will remain in effect until you click on something else in the Groups & Files sidebar)