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.
Product Version = NetBeans IDE 8.1 RC2 (Build 201510122201) Operating System = Linux version 3.16.0-44-generic running on i386 Java; VM; Vendor = 1.8.0_45 Runtime = Java HotSpot(TM) Client VM 25.45-b02 Reproducibility: Happens every time STEPS: * Creates the following Java class : package org.lvaills.netbeans; public class TestLineAfterComment { public static void main(String[] args) { // System.out.println("Hello World !"); int i; i = 3; } } * Select the lines "int i;" and "i = 3;" * Ctrl+i * Execute the action "Re-indent current line or selection" ACTUAL: nothing happens EXPECTED: I expect to have the line "int i;" and "i = 3;" indented (with 8 spaces in that case). Note that if I execute the action "Format (Source)" (Alt+Shift F) the lines are correctly indented.
Created attachment 156811 [details] IDE log