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 204405 - By default switch off "Generate Fully Qualified Names of Classes"
Summary: By default switch off "Generate Fully Qualified Names of Classes"
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal with 2 votes (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2011-10-30 10:17 UTC by Geertjan Wielenga
Modified: 2012-07-25 09:42 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Geertjan Wielenga 2011-10-30 10:17:23 UTC
Is there a reason "Generate Fully Qualified Names of Classes" is switched on by default? If not, please turn it off by default, that would produce much more readable code in blue blocks.
Comment 1 David Strupl 2012-07-25 09:39:23 UTC
The reason is performance of the GUI builder. As the generated code is seldomly read by the users we don't think this is good idea to change this.

THere is also a potential for clashes in imports, a risk of remaining unused imports in users code.
Comment 2 Geertjan Wielenga 2012-07-25 09:42:52 UTC
OK, I see. As an alternative, could we have an Action for converting FQNs to import statements at the top of the class. That would be very helpful. If it makes sense, I will open a separate issue for this.