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
 Indicate unused symbols
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Chris Nahr
Ketchup Master

92 Posts

Posted - Jun 13 2004 :  06:42:36 AM  Show Profile
Since VAX is already analyzing symbol usage to some degree for syntax coloring, I was thinking about indicating unused symbols as well -- say with a red underline?

1. Unused namespaces and type aliases (using statement in C#). This might be tricky if you want to check for references in C# XML comment tags but that's not really necessary (the C# compiler will know).

2. Unused private fields and local variables. Even better: indicate fields/variables that are only set but never otherwise used.

3. Provide a list of such unused symbols and/or commands to jump from one symbol to the next.

It's not necessary to do this check in the background if that would take too much time; a separate menu command would be OK. Thoughts?

support
Whole Tomato Software

5566 Posts

Posted - Jun 13 2004 :  1:40:30 PM  Show Profile
Though we like your idea, it is unlikely we will implement it. VA X parses only to understand context. You can type garbage code and VA X will not care. The software just watches for braces and within them, what looks like symbols. There is not enough parsing done to critique semantics, ie identify what symbols are not used.

Whole Tomato Software, Inc.
Go to Top of Page

Chris Nahr
Ketchup Master

92 Posts

Posted - Jun 14 2004 :  02:46:37 AM  Show Profile
Thanks, never mind then. Maybe in Visual Assist XX. :)
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