Reputation: 133
I am new on Eclipse from Keil C. I have few tips to make a quick code on Keil but I can't find it on Eclipse. Can anyone help me, please?
To Collapse/Expand All Definition like this
To find a string in all project at the moment.
I'm very grateful for any help.
Upvotes: 0
Views: 114
Reputation: 86
You can see all of the Eclipse shortcuts via Help -> Show Active Keybindings
, or with the shortcut Ctrl+Shift+L. There you can also find some of the answers:
Search -> File
and search with scope to "Enclosing Project"Window -> Preferences -> Java -> Editor -> Templates
.
For your example: Click on "New...". Enter "cm" as name, "Enter a new comment" as description and as pattern "/*${cursor}*/" (please find other available variables by clicking on the button "Insert Variable...").
Confirm with "OK" and close Preferences-Window with click on "Apply and Close". That's it! :-)
Upvotes: 2