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
 Gray Out Inactive Code
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

matahari
New Member

6 Posts

Posted - Jul 30 2018 :  03:34:18 AM  Show Profile  Reply with Quote
Hello,

I am an active UE4 C++ developer, and currently evaluating Visual Assist. I have to say that it looks very promising!

Due to ongoing/recurring serious problems with VS IntelliSense, I want to disable it completely and don't want to look back again. The problem is, as far as I know Visual Assist currently does NOT support graying out inactive macro code portions.

As I have noticed that there are a number of posts related to this issue, I really wonder if you have any plans for implementing graying out inactive code blocks?

Kind Regards,

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 30 2018 :  03:42:51 AM  Show Profile  Reply with Quote
We're considering doing this at some point:

case=110974

However, I don't know when or if it will ever be implemented. Visual Studio is already capable of doing this, so it would only be useful for a limited nr. of customers. Ones with very large codebases. But thank you for the feedback, I have added your voice to the case which helps us prioritising.

Edited by - accord on Jul 30 2018 03:43:47 AM
Go to Top of Page

foo64
New Member

8 Posts

Posted - Dec 14 2022 :  12:53:17 PM  Show Profile  Reply with Quote
Has there been any update to this feature request? After installing VA, inactive code blocks suddenly came back to full color. Here are the Visual Studio settings for showing inactive code at 55% opacity, which isn't working.

Also, does it make a difference where a preprocessor macro is defined? A lot of our macros are defined in project files as opposed to directly in h/cpp files. In the case below, "#if 0" is still showing at full color, so even the most basic inactive code isn't being dimmed.

I'm confused if it's Visual Studio or Visual Assist that drives the coloring of inactive code. The settings are in Visual Studio, but VA is the one choosing font colors for various parts of files. Are they conflicting?

Does Intellisense have to be enabled in order for the "inactive code" dimming to work? If so, which setting(s) have to be enabled? There are lots of Intellisense settings.









Edited by - foo64 on Dec 14 2022 1:12:42 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Dec 15 2022 :  06:53:12 AM  Show Profile  Reply with Quote
Showing inactive code in a different colour is done by the IDE, and having VA installed won't have any effect on this. It does require IDE intellisense to be active. The normal way of disabling IDE intellisense is with:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> IntelliSense -> Disable IntelliSense = True

but there are a few other options around that one that can have a similar effect.

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