How to search symbol in current file? Just like 'control+6' in Xcode.
What you are most probably looking for, is called a "File Structure" popup. At least, with my mappings it gets opened by pressing CMD + F12. Although you won't see a search box, all these popups are filterable. You can get to what you are looking for, by directly typing a few letters of its name.
Hope, my answer can help you.
Related
in IDEA ,I can type soutto represent System.out.println();and I want to know how to make my own code abbreviation.For example, alias System.out.print(); to sounor any other names
This is called a Live Template in IntelliJ.
Go to File > Settings > Editor > Live Templates. From there, select Java and on the right, you'll see a plus sign. By clicking it, you'll get a 1. Live Template and that will get you a new abbreviation.
Name it soun and the text should be
System.out.print($END$);
Once you're done, make sure you've enabled that abbreviation by clicking the check box next to it.
The docs of IntelliJ cover in detail what the syntax is for these templates.
The $END$ syntax indicates the position of the cursor when the code snippet is complete, and you can no longer press Tab to jump to the next variable.
There are more variables to look at as well and other configurations to do!
Edit: there is an answer here for this question, but it looks like it doesn't necessarily answer the question asked on that post, so that's why I've decided to post a dedicated answer (tackling the issue at hand).
Is there a plugin or something to make Geany autocomplete show up as you type (like how Sublime Text does)?. I find it tiring having to press Ctrl+Space everytime I want auto-completion.
The Autocompletion section of the Geany manual is a little vague on the matter, and a cursory glance suggests that a keypress is required for complete word autocompletion.
Digging a bit deeper in the Editor Completions preferences section reveals the Autocomplete all words in document option. Testing this option, it seems to get close to what you're looking for. The only drawback is that a word that's not a symbol won't show up in the autocompletion list if there is a symbol that matches. For example, if there's a symbol "engine" and the non-symbol word "engineering" in a document, "engineering" won't be listed for autocompletion until at least "enginee" is typed.
IntelliJ tells me that I write words wrongly. That is cool. However, it does not give me any suggestions how to write them correctly, making this feature only half as useful as it could be. Can I get IntelliJ to make spelling suggestions? Working on KDE, many of my usual programs use the KDE spelling and thus are able to make suggestions...
I am using IntelliJ IDEA 2016.2.4.
Right Click on the misspelled word -> Spelling -> Typo: Change to...
Right click or press
Alt + Enter
on the misspelled word. It will display a menu like this -
On the first option, you have a sub menu which you can expand on the right but to access the spell check options, you need to select the option itself that is highlight in the screenshot above, and it will replace the context menu with another one, listing the possible spelling suggestions -
I too struggled finding this option. The menu option available (first screenshot) looks like "can be expanded only" and is not at all selectable, visibly.
I was wondering, if anyone know about this kind of shortcut:
lets say I'm searching for something and get a results window with many results, is there a shortcut that can navigate me inside the list without mouse help?
In IntelliJ IDEA 11.0.2
Whenever I do a "Find in Path" using Ctrl+Shift+F and the search completes, the focus is already in the search results and the arrow keys can be used to navigate.
If the focus isn't in the search window, there can be an Alt+# combo that will take you to the window. In my setup, it is Alt+3 (the label on my "Find" tab is "3: Find", so it's easy to see that Alt-3 is the right combo.)
I suspect that I may not understand what you're looking for, but maybe it is helpful.
Something I liked in Visual Studio was that I could click an opening tag, say and it would do its best to highlight in bold the closing tag. Does anyone know if you can do that in textmate? I searched an looked but cannot find it.
It gets hard to find the closing tag many DIVs deep.
If TextMate won't do it, can anyone tell me an editor on Mac that will?
Thank you for any help.
EDIT: If it can do it, can someone please tell me how? Thanks again.
Install the experimental bundle - and look for the "Select Balanced Tags" macro (Shift-Command-B)
Whenever you transverse with your keyboard or mouse the closing tag, TM will flash you the opening one.
But I think the reverse it's not possible (or at least, haven't found a way to work it like that)