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 65276 - Encapsulate fields ignores tab indentation setting
Summary: Encapsulate fields ignores tab indentation setting
Status: RESOLVED DUPLICATE of bug 66646
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
: 64870 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-28 19:30 UTC by randahl
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 randahl 2005-09-28 19:30:50 UTC
Although I have the setting "Expand tabs to spaces" to "false", the refactoring
"Encapsulate Fields" still produces space indented code.

You can verify this bug by these steps:

1. uncheck "Expand tabs to spaces" in options under indentation
2. create a new class
3. add a field called "String test;"
4. run the "Encapsulate fields" refactoring
5. move the cursor from the beginning of the line to the return type of the
method starting with "    public String getTest() {"
                     (^^^^location of the problem)

Randahl
Comment 1 Jan Becicka 2005-09-30 07:37:11 UTC
This issue should be fixed in javacore.
Comment 2 Jan Becicka 2005-09-30 07:37:51 UTC
Pavle, can you take a look at it as our indentation guru :)
Comment 3 Jan Becicka 2005-10-07 13:46:28 UTC
*** Issue 64870 has been marked as a duplicate of this issue. ***
Comment 4 Daniel Prusa 2005-10-19 14:34:44 UTC
Problem with firing indentation settings.

*** This issue has been marked as a duplicate of 66646 ***
Comment 5 Quality Engineering 2007-09-20 09:45:31 UTC
Reorganization of java component