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 55680 - Generated Code for Override and Implement is indented badly
Summary: Generated Code for Override and Implement is indented badly
Status: RESOLVED DUPLICATE of bug 55721
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 11:09 UTC by sebastianm
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sebastianm 2005-03-01 11:09:01 UTC
I use NB 4.1 beta 1
I use a non-standard setting for code indentation:
"Convert tabs to spaces" and "2 spaces per tab".
When I use Ctrl-I to override or implement a
number of methods, the generated code is formatted
with 4 spaces per tab - I have to Ctrl-Shift-F in
order to format it according to my style.
The code generation should respect my settings as
it did in earlier versions.
Comment 1 Jan Becicka 2005-03-01 14:44:06 UTC
I'm sorry, I cannot reproduce it. Generated code is formated according
to Tools | Options | Editing | Indentation engines | Java indentation
engine settings
Comment 2 sebastianm 2005-03-01 15:20:26 UTC
Funnily, *after* changing the values in the indentation engine, the
behavior was correct. I changed them back to my old values and
everything worked fine.
When I started nb4.1b1 for the first time, it asked me whether to
import my settings from my 4.0 installation and I agreed. So there
might be some duplicate state for the code generation and for the
indentation engine (I'm just guessing here), and only one of the two
states is imported correctly, while the other state gets synched only
when I make changes and is initially set to the default values.
Comment 3 Jan Becicka 2005-03-02 13:45:12 UTC

*** This issue has been marked as a duplicate of 55721 ***
Comment 4 Quality Engineering 2007-09-20 09:47:40 UTC
Reorganization of java component