Community
Participate
Working Groups
Build Identifier: 3.6 When indenting a partial line in block selection mode like this (here only "comment" is selected) // comment This indents all characters of the line: // comment Expectation is that only the intentionally selected block is indented: // comment Reproducible: Always
dup of #288430? What do you mean by 'indent'? - selecting the Source > Shift Right action¨ - does what you describe - using Ctrl+I or the Source > Fix Indentation action in a Java editor - does what you request - pressing the Tab key - replaces 'comment' by the tab character
Sorry, I was a bit imprecise: I meant indenting by pressing TAB. It turns out that the effect only applies to multiple line. Start with //comment //comment Now press TAB in block mode with both "comment" words selected. This produces: //comment //comment instead of expected // comment // comment
ok, dup of bug 288430 then. *** This bug has been marked as a duplicate of bug 288430 ***
Right, this is a dup of 288430. I absolutely see this is a valid use case, have other colleagues complaining that Eclipse here does a "worse" job than other text editors.