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?
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.