Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Shortcut Key to Select Token
Shortcut Key to Select Token [message #635490] Wed, 27 October 2010 01:09 Go to next message
No real name is currently offline No real name
Messages: 9
Registered: October 2010
Junior Member
What is the shortcut key to select a token or word?
Re: Shortcut Key to Select Token [message #635497 is a reply to message #635490] Wed, 27 October 2010 02:52 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
Control+Shift+Right is probably the one that you are looking for. However Window->Preferences->Keys could give you the short cuts and you could bind your keys for those that doesn't have.
Re: Shortcut Key to Select Token [message #635655 is a reply to message #635490] Wed, 27 October 2010 11:59 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 9
Registered: October 2010
Junior Member
That only selects part of the token if it's camel case. For example if the cursor is between the "r" and "i" in the token "myVariableName", only the characters "iable" will be selected.
Re: Shortcut Key to Select Token [message #635676 is a reply to message #635490] Wed, 27 October 2010 12:59 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

commandernchief@spamherelots.com wrote:
> What is the shortcut key to select a token or word?

To progressively select java statements, you can use ALT+SHIFT+UP_ARROW.

To search for the text occurrence of the current highlighted word, you
can use CTRL+K

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Shortcut Key to Select Token [message #636268 is a reply to message #635490] Sat, 30 October 2010 00:58 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 9
Registered: October 2010
Junior Member
We really need a select word shortcut.
Re: Shortcut Key to Select Token [message #636423 is a reply to message #636268] Mon, 01 November 2010 04:18 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
commandernchief@spamherelots.com wrote:
> We really need a select word shortcut.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=23080 Not what you
asked for but just in case: you could use double-click.

Dani
Re: Shortcut Key to Select Token [message #640101 is a reply to message #635490] Fri, 19 November 2010 01:02 Go to previous message
No real name is currently offline No real name
Messages: 9
Registered: October 2010
Junior Member
Double-click selects too much. For example, if the word is a string literal, the quotes around the word will be selected.

Please vote to have this essential keyboard shortcut implemented.
Previous Topic:working with the AST
Next Topic:Disabled suggestions Eclipse
Goto Forum:
  


Current Time: Wed Aug 20 10:47:04 EDT 2014

Powered by FUDForum. Page generated in 0.01791 seconds