- Joined
- Nov 26, 2014
- Messages
- 616
- Thread Author
- #1
As many of you may know, Intellij is the most popular IDE among RuneMate developers. Here are some useful shortcuts I use to lessen the hassle and speed up coding.
Perhaps my most used shortcut, this one lets you insert many different lines of code such as constructors, getters and setters.
One of its many uses is for enums. Let's say I define a bunch of variables in an enum.
I can simply hit the shortcut and this menu will show up.
I simply hit enter when it highlights Constructor.
I select all the fields I want and hit enter or OK and voila.
I can do he same for getters as well.
I use this to open any class in my project.
Used to override any method.
Rebuilds the project, useful when testing you code.
Surrounds a statement or group of statements with various things.
BONUS!
Type the following line and hit enter and a system out println is added, handy for debugging.
Code:
Alt + Insert
One of its many uses is for enums. Let's say I define a bunch of variables in an enum.

I can simply hit the shortcut and this menu will show up.

I simply hit enter when it highlights Constructor.

I select all the fields I want and hit enter or OK and voila.

I can do he same for getters as well.

Code:
Ctrl + N

Code:
Ctrl + O

Code:
Ctrl + F9
Code:
Ctrl + Alt + T

BONUS!
Code:
sout