I need help adding a keyboard shortcut for adding a watch expression in Eclipse. I can add a watch by right-clicking in the "Expressions View", but having go back and forth between the keyboard and mouse cuts down on efficiency.
Can anyone offer me any suggestions to fix this?
The main preference page can be found under Window > Preferences > General > Keys (or faster: Press Ctrl+3, type Keys and press Enter). From here you can see all commands and assign/change their associated keyboard shortcuts.
Search – Eclipse Shortcuts CTRL SHIFT G – Search for current cursor positioned word reference in workspace. CTRL H – Java search in workspace.
In Eclipse, if the cursor is over a word and you press Ctrl + K you will jump to the next occurrence of that word in the file.
2. 3. Quick Search became part of the Eclipse platform some time ago. It can be found in Search > Quick Search and the default key is Ctrl+Alt+Shift+L.
Go to Preferences (on Mac its Eclipse > PReferences.. not sure what heading prefs is under on win/*nix) and expand the "General" section and select "Keys" you will then get a pane with a search dialog. Type in "watch" and set it up appropriately.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With