Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 VA Outline: special icon label for const items.

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Esone Posted - Jan 22 2008 : 09:15:29 AM
Would be helpful, if VA Outline displayed specific sign in an icon for const variables and members. This can be some letter 'c' in the right top corner of the icon.

int const a;
class A
{
static const int m_ca;

void f_c() const;
};
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 22 2008 : 8:52:40 PM
I have added a note about these other keywords.

Showing this information in a different file, access information while in a cpp file for example, is:

case=5755
Esone Posted - Jan 22 2008 : 09:48:10 AM
A couple more points to consider for this feature:

1) It should work in cpp-s, as well as in .h-s:
case=5755 (http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6537)

2) The method in derived class should be marked as virtual even if no "virtual" keyword presents for this method, but it is virtual in a base class.

I am writing that to collect all related ideas in one point, this may be a help for developers. :)
Esone Posted - Jan 22 2008 : 09:39:56 AM
Yes, it is similar. You should just attach to the case=7996 the list of all categories to reflect:

static
virtual
const
mutable
volatile

and allow somehow for their combinations, like: virtual void my_method() const;
feline Posted - Jan 22 2008 : 09:29:25 AM
This is the same as picking out virtual and static members really, which we are considering:

case=7996

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000