This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257376 - Shift-tab should always un-indent the current line, regardless if it is selected
Summary: Shift-tab should always un-indent the current line, regardless if it is selected
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-03 19:51 UTC by lukas.eder
Modified: 2016-01-03 19:51 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lukas.eder 2016-01-03 19:51:06 UTC
Consider the following, incomplete program:

public class Test {
    public void x() {
            new BigDecimal()
    }
}

When I put the cursor before the keyword "new" and hit Shift-Tab, then the statement is un-indented as expected:

public class Test {
    public void x() {
        new BigDecimal()
    }
}

However, when I put the cursor at the end of the line, or anywhere inside of the statement (e.g. Big|Decimal), and then click Shift-Tab, nothing happens.

It would be great if this worked as well. It does so in Eclipse.