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 71779 - RFE: Override method should organize imports
Summary: RFE: Override method should organize imports
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 02:48 UTC by okazaki
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description okazaki 2006-01-24 02:48:05 UTC
Override method is one of the most usable feature in netbeans I think. In
current implementation, override method uses FQCN for return type or parameters
like below.

protected org.apache.struts.util.MessageResources getResources(
     javax.servlet.http.HttpServletRequest request, String key) {
        org.apache.struts.util.MessageResources retValue;
<snip>
}

At least my experience, many Japanese companies are defined column limit, e.g.
80 chars per line, in their coding style standard. It's difficult to compliant
that coding style standard if all of classes are defined in FQCN.

I hope classes are defined their own name, and override method function
organizes their imports when there are no name conflicts in the source code.

protected MessageResources getResources(
     HttpServletRequest request, String key) {
        MessageResources retValue;
<snip>
}

Thanks,
Takayuki
Comment 1 Jiri Prox 2006-06-09 17:01:31 UTC
Works for me in 5.0 fcs