Community
Participate
Working Groups
From Eclipse Corner: Java Editor feature requests Similarly, the text editor I usually use has a nice feature where pressing tab moves the current line to what it considers the right position, eg pressing tab on the second line of: String test = someMethod (longArgument1, longArgument2); results in String test = someMethod (longArgument1, longArgument2); This is also useful for getting the cursor to the right place on a blank line. I wouldn't suggest using tab for this in the Eclipse Java editor, but maybe ctrl+tab? (Not sure what that does atm :) NOTES:
moved to 'active'
PRODUCT VERSION: R0.9
Bug is related to bug 4134.
not critical for 2.0 - defer
If voting was enabled (bug 12115) I'd vote for this feature request. But it isn't, so I'll settle for "me too": Me too! Although I would like to have the TAB key used for this (Carolyn: why not?). Also, the summary should say something about Emacs to make this bug easier to find.
Apparently the TabNavigator plugin provides this functionality. According to its author: " Tab Navigator 1.0.1 (just uploaded) works with RC2 and includes a "Java Line Indent" action that approximates emacs-tab. Use the keybindings preference page to assign "Tab" to "Java Line Indent" (you may need to un-assign it from Java Line Navigate first). NOTE 1: Reports indicate that TAB does not work as an accelerator on Linux GTK builds due to GTK restrictions on accelerator keys (bug 33495). NOTE 2: Java Line Indent is not perfect. It does not work on multiple lines, nor does it handle split sytnatic elements Find it here: https://sourceforge.net/projects/zclipse/ and download 1.0.1 of TabNavigator. "
TabNavigator is a workaround btw, not a fix. I want to see this in Eclipse Proper. Also, I haven't used TabNavigator myself, so I can't say anything about it (good or bad). It seems as its author is quite responsive though, so my guess is it either works well or will be fixed if you complain.
This is a duplicate of bug 37472. Somebody authorized, please mark it as such.
Thanks - marking as dup. *** This bug has been marked as a duplicate of bug 37472 ***
*** Bug 5179 has been marked as a duplicate of this bug. ***