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

Summary: By default switch off "Generate Fully Qualified Names of Classes"
Product: guibuilder Reporter: Geertjan Wielenga <geertjan>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED WONTFIX    
Severity: normal CC: hmichel
Priority: P2    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

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.