Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 cannot set different colors forLocal and Global va

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
yanyongcheng Posted - Oct 01 2021 : 09:11:48 AM
When I "Enable Enhanced Syntax Coloring", cannot set different colors for Local and Global value, and I find in C/C++, the VA cannot distinguish local variables from global variables.(When I enalbe "Show local symbols in bold", the local and global values are all bold.)

VS:2015
VA:2406
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 01 2021 : 11:21:24 AM
Can you please try the following simple C++ test. This code goes into the header file:

class simpleTestClass
{
private:
	int m_nSimpleHeight;
	int m_nSimpleWidth;

public:
	simpleTestClass()	{ }
	simpleTestClass(int nSimpleHeight, int nSimpleWidth);
};

and this code goes into the matching cpp file:

simpleTestClass::simpleTestClass(int nSimpleHeight, int nSimpleWidth)
{
	m_nSimpleHeight = nSimpleHeight;
	m_nSimpleWidth = nSimpleWidth;
}

in the cpp file the class member variables are NOT shown in bold, while the constructor parameters ARE shown in bold, both where they are passed in and again where they are used.

Do you see the same results on your system, or are you getting a different result?

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