Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Underline unreferenced local variables
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Old as dirt
Tomato Guru

USA
246 Posts

Posted - Mar 06 2004 :  2:41:14 PM  Show Profile
It would help in cleaning up our code if you underlined unreferenced local variables. It would be especially nice if you could do that for variables which are classes as well as those which are simple types like int and float.

Ken

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Mar 08 2004 :  12:23:38 PM  Show Profile
cool idea, i like this

ideally you would need an option to specify a separate colour, to distinguish these from typo's

zen is the art of being at one with the two'ness
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Mar 08 2004 :  12:36:45 PM  Show Profile
Nice idea!

Since not all compilers do warn you about unreferenced local variables (VS .NET 2002/2003 does, Intel C++ 7.1 never did on my system), I'd really love to see such a feature in Visual Assist X!

Just because while compiling, it is already too late (they don't hurt much, but I like my code as clean as possible)...

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Mar 08 2004 :  12:38:29 PM  Show Profile
yes, i always try to remove them, since they only confuse you when you return to the code months later. you spend time trying to work out what the variable is for, only to find that it isnt for anything *shrug*

zen is the art of being at one with the two'ness
Go to Top of Page

asmout
Ketchup Master

58 Posts

Posted - Mar 08 2004 :  7:15:34 PM  Show Profile
Nice idea. Gets my vote!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000