Bug 57705 - [navigation] Add tab navigation to Java editor
Summary: [navigation] Add tab navigation to Java editor
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 04:10 EDT by Todd Chambery CLA
Modified: 2010-06-26 12:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Chambery CLA 2004-04-07 04:10:13 EDT
As a previous bug for 2.1 stream has been marked resolved, I'm reopening the
issue for 3.0.  From the original bug report
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=25802): 

I'd like to see the tab-out functionality expanded to include
parentheses.  Tabs (as a spacer) don't have any utility for me inside
parentheses, and since using the t-o-o-q, I found myself hitting the tab key to
get out of my paren block once out of the quotes.  For example, tabbing ([\t])
moves the cursor to the caret:

     logger.debug("foo[\t]" )
                           ^
hitting the tab key her should move the cursor here:

     logger.debug("foo"[\t])
                            ^
If you think of the java editor as a sort of complex form, tab navigation makes
more sense.  To use VM as an example, while you're free to move about the form
using cursor keys, the most efficient way to move to the next logical edit point
is using the tab key.  While the java editor is a much more complex form, with
the inclusion of a powerful and flexible code formatter in 3.0, the tab key is
wasted as formatting tool.  Tabbing inside quotes doesn't make sense (unless
it's replaced by '\t', which might a related enhancement), and any tab in the
editor spaces gets overwritten by the formatter.

Once you use it for even a short time, hitting tab to get to the next logical
edit point becomes second nature.

For further comments and arguments, see the predecessor this bug, mentioned above.