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 192264

Summary: After update to 6.9.1 # 2, identation is a mess!!!
Product: editor Reporter: ecerichter
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description ecerichter 2010-11-22 11:14:47 UTC
After update to 6.9.1 patch 2, identation is completely lost. For me, this is a major block, so I've rated this initially as P2.

I can't stand working with the editor anymore, and had to completely uninstall NetBeans 6.9.1 patch 2 and re-install NetBeans 6.9.1 then disable the auto update feature.

Example of the issue:

Normally, I would created idented blocks like this:

public void doSomething() {
  for(int i = 0; i < 100; i++) {
    System.out.println(i);
  }
}

With the new editor, if I don't ajust manually the code, I get:

public void doSomething() {
  for(int i = 0; i < 100; i++) {
    System.out.println(i);
}
}

This is even worse when you think in splitting strings, or complex identation structures.

I believe it's related to the fix for the bug 188112, but this is just a guess.

Regards,

Edson.
Comment 1 Dusan Balek 2010-11-22 11:40:12 UTC

*** This bug has been marked as a duplicate of bug 192098 ***