Author |
Topic |
|
xiaojiang_gu
New Member
3 Posts |
Posted - Nov 10 2015 : 01:32:44 AM
|
My development environment is VS2010. Originally, it can become gray in inactive code area. But when I install VAssistX, the
inactive code become not gray. How Can I solve this problem?it can be seen in following attachment. In this Code, I don't
define _XIAOJIANG macro,So the Code should become gray. |
|
xiaojiang_gu
New Member
3 Posts |
Posted - Nov 10 2015 : 7:26:00 PM
|
Can anybody help this? |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Nov 10 2015 : 8:42:44 PM
|
VA should not effect this, but we do scan inside, and are active inside inactive code blocks. Can you please check the IDE options:
IDE tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Show Inactive Blocks IDE tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Disable Inactive Code Opacity
perhaps these settings have been changed somehow. |
zen is the art of being at one with the two'ness |
|
|
xiaojiang_gu
New Member
3 Posts |
Posted - Nov 11 2015 : 03:28:28 AM
|
Thank you.I found that VA should not affect this. But I guess it is the problem of visual studio. I also Check " Show Inactive Blocks" to be true and "Disable Inactive Code Opacity" to be false. But I also found that the inactive code become not gray.When I reset all settings in "Import and Export Wizard",it can become gray.But When I Close VS Project,it become not gray again. I also discover that VS will save "CurrentSettings.vssettings" file after Closing VS Project.I think that it will add the extra setting in the process of saving file. Can anybody tell me what is the extra setting?Thans a lot. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Nov 12 2015 : 12:15:39 AM
|
Can you try rebooting, and then just load one copy of the IDE, and check the IDE setting? I am wondering if working with more than one copy of the IDE open at the same time could be a factor. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|