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 99196

Summary: Restructuring or reorganizing code
Product: java Reporter: belur_1d <belur_1d>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description belur_1d 2007-03-28 04:33:10 UTC
Hi

I am not sure whether the editor was thr right component.
This is with regard to the way variables are  present in code.

Say for example, variables (class level) are not all present 
either  in top or bottom i.e when I write some new  variables,
I may just type it in the cusor location.So what happends because of this
is my variables are all  spread out in the code some in between methods.

I would like to ask for a feature over here.

Can nb offer something like "Pull all variables to the top of class" Or
"..bottom..." . 

Right now, one has to go find each and every such variables and pull it out.

This one in my opinion will help a lot to me. Also I am aware tools like
checkstyle have a rule stating that static variables shud come first and then
local variables ..something like that. So if netbeans can offer a feature
to do this before tools like above can catch, it will be great.


-Swaroop Belur