Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add Watch Expression in Eclipse using keyboard shortcut

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?

like image 489
Miranda Avatar asked Jan 20 '10 02:01

Miranda


People also ask

How do I add a keyboard shortcut in Eclipse?

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.

What is Ctrl Shift G in Eclipse?

Search – Eclipse Shortcuts CTRL SHIFT G – Search for current cursor positioned word reference in workspace. CTRL H – Java search in workspace.

What does Ctrl k do in Eclipse?

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.

What is Ctrl Shift L in Eclipse?

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.


1 Answers

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.

like image 154
prodigitalson Avatar answered Sep 22 '22 08:09

prodigitalson