So I mainly use a Mac with Eclipse and I know there is a shortcut to type System.out.println();
using syso CTRL+Space, but I was wondering if there is any way where I can change or add my own shortcut by just typing something like sysout
and not have to press CTRL+Space, but instead just by pressing Space after sysout
.
Asked
Active
Viewed 1,017 times
0

ProjectDefy
- 101
- 1
- 9
2 Answers
0
This is already supported. See this answer. sysout
is the the template and you can just hit tab
to complete it. No need for CRTL+space
. If it's really important to you to use space
rather than tab
, you would need to update the key bindings under Preferences > General > Editor > Keys
, but it may interfere with other key bindings so I wouldn't suggest you change that.
0
Preferences > General > Editor > Keys
- In column "Command" Search for "Content Assist", select it
- Below in "Binding" erase the content (ctrl+space), and just press space
- PRESS OK
- DONE

Lion_CH
- 78
- 2
- 8
-
This is exactly what I was looking for. Thanks! – ProjectDefy Jan 19 '16 at 21:13