Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 204405 - By default switch off "Generate Fully Qualified Names of Classes"
By default switch off "Generate Fully Qualified Names of Classes"
Status: RESOLVED WONTFIX
Product: guibuilder
Classification: Unclassified
Component: Code
7.1
PC Linux
: P2 with 2 votes (vote)
: TBD
Assigned To: issues@guibuilder
issues@guibuilder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-30 10:17 UTC by Geertjan Wielenga
Modified: 2012-07-25 09:42 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo