Intellij shortcut to convert code to upper or lower case?
Ctrl + Shift + U In the future try typing: Ctrl + Shift + A and look for any actions you like. Here: Toggle Case. Or ⌘ Command + Shift + U if you are using Mac OSX.
Ctrl + Shift + U In the future try typing: Ctrl + Shift + A and look for any actions you like. Here: Toggle Case. Or ⌘ Command + Shift + U if you are using Mac OSX.
Ctrl + – and the opposite Ctrl + Shift + -. Move cursor back (or forwards) to the last place it was. No more scrolling back or PgUp/PgDown to find out where you were. This switches open windows in Visual Studio: Ctrl + tab and the opposite Ctrl + Shift + tab
Since Xcode 4 (including 5, 6, 7, 8, 9, 10, 11, 12 and 13) it’s ⌘ + ⇧ + O
!$ gets the last element of the previous command line argument.
Select first the text you want to format and then press Ctrl+I. Use Cmd+A first if you wish to format all text in the selected file. Note: this procedure only re-indents the lines, it does not do any advanced formatting. In XCode 12 beta: The new key binding to re-indent is control+I.
ctrl + F12 (cmd + F12 on macOS) will show all members of the current class in a popup window and let you pick up one. It works exactly like the ctrl + o shortcut in eclipse, much faster than ctrl + alt + shift + n
Alt + Shift + ← (Left Arrow) or Ctrl + E (Recent Files pop-up). Also check: Ctrl + Shift + E (the Recently Edited Files pop-up). Mac users, replace Ctrl with ⌘ (command) and Alt with ⌥ (option). Update In v12.0 it’s Alt + Shift +← (Left Arrow) instead of Alt + Ctrl + ← … Read more
Place the cursor next to an opening or closing brace and punch Ctrl + Shift + P to find the matching brace. If Eclipse can’t find one you’ll get a “No matching bracket found” message. edit: as mentioned by Romaintaz below, you can also get Eclipse to auto-select all of the code between two curly … Read more
I’m using Eclipse Europa, which also has the Favorite preference section: Window > Preferences > Java > Editor > Content Assist > Favorites In mine, I have the following entries (when adding, use “New Type” and omit the .*): org.hamcrest.Matchers.* org.hamcrest.CoreMatchers.* org.junit.* org.junit.Assert.* org.junit.Assume.* org.junit.matchers.JUnitMatchers.* All but the third of those are static imports. By … Read more
Use Navigate (View in older versions) | File Structure Popup (Ctrl+F12 on Windows, ⌘+F12 on OS X). Start typing method/symbol name to either narrow down the list or highlight the desired element. Press Enter to navigate to the selected element.