I was wondering is there is a keyboard shortcut (in IntelliJ) for creating a new instance of an object. e.g. when I type PersonObject personObject = new PersonObject, is there a way to type this faster? Instead of writing it out, or using autocomplete. Answer The Answer by racraman looks like a good one. An alternative is to type part
Tag: keyboard-shortcuts
A shortcut to select a line in Eclipse?
Is there a keyboard shortcut to select all the line your cursor is currently on? In Eclipse? Or even in general on Windows/Linux? Answer Solution for Eclipse: Hold Alt and press ↑ and ↓. Alt + ↑ and ↓ will move an entire line up or down, so just move it back and you end up with the entire line
Eclipse copy/paste entire line keyboard shortcut
Anyone know the keyboard shortcut to copy/paste a line into a new line in Eclipse, without having to highlight the entire line? ctrl-alt-down turns my whole screen upside down (I’m on windows). Interestingly, that’s what’s specified in the windows->preferences. Answer Ctrl-Alt-Down: copies current line or selected lines to below Ctrl-Alt-Up:: copies current line or selected lines to above Ctrl-Shift-L: brings