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
 Color coded variables based on scope
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

aureis
Starting Member

1 Posts

Posted - Mar 16 2011 :  11:34:37 AM  Show Profile  Reply with Quote
Does anyone know of any plans for VA to support allowing the user to define different colors for variables of different scope. By scope I mean typically where the variable resides; globally, member to a class, local to a function, member static, global static etc...

This would be incredibly beneficial since the alternative is to have the user handle this using mechanisms like hungarian notation (e.g. g_, m_, s_)

Thanks!

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Mar 16 2011 :  11:13:11 PM  Show Profile  Reply with Quote
Unfortunately we don't have any current plans to try and do this. One reason is that our colouring code has to run very quickly, to keep up with scrolling and editing, and asking it to do to much can cause problems.

I assume you are familiar with the VA option:

VA Options -> Advanced -> Fonts and Colors -> Local symbols in Bold

but even this can run into problems with edge cases. Placing the caret into the symbol will show you information about it in VA's context and definition fields, normally at the top of the editor, which should help you to understand what it is.

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

sldev
New Member

2 Posts

Posted - Mar 29 2011 :  12:58:20 PM  Show Profile  Reply with Quote
What about using different icons for public scope, vs. private scope of methods (e.g., in VA Outline)?

Edited by - sldev on Mar 29 2011 12:59:35 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Mar 29 2011 :  1:27:53 PM  Show Profile  Reply with Quote
We are considering adding icons to the items in VA Outline to show their scope:

case=5755

But currently this is just an idea, and I don't have any estimate for when it will be done, if it is ever done.

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

sldev
New Member

2 Posts

Posted - Mar 29 2011 :  5:13:45 PM  Show Profile  Reply with Quote
Well, I think it's a good idea, that should be implemented ASAP. The whole idea for an outline is to get a birds-eye view of a class. Sure, I can just hover over each method to see it's scope, but isnt' the point of paying extra for something like VA to save time and aggravation? Even if in multiple, small increments?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Mar 30 2011 :  11:34:33 AM  Show Profile  Reply with Quote
We are constantly working to improve VA, in many different areas. Different people have different priorities, depending on their work style, and what they are doing.

We try to make VA more useful and powerful for everyone, but deciding which feature to work on next is not always easy. Hopefully you do find some of the new features we are adding to VA helpful.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000