Skip to main content


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 05:09 Go to next message
No real name is currently offline No real nameFriend
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 06:52 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam KandulaFriend
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 15:59 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
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 16:59 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
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 04:58 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
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 08:18 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
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 06:02 Go to previous message
No real name is currently offline No real nameFriend
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: Thu Apr 25 07:10:13 GMT 2024

Powered by FUDForum. Page generated in 0.03907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top