Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add greying out of unactive C/C++ pre-processor block #25201

Closed
Ybalrid opened this issue Apr 23, 2017 · 2 comments
Closed

Add greying out of unactive C/C++ pre-processor block #25201

Ybalrid opened this issue Apr 23, 2017 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality

Comments

@Ybalrid
Copy link

Ybalrid commented Apr 23, 2017

This is a feature request about the C/C++ developement workflow

Visual Studio proper grey out non active preprocessor block (that doesn't meet the #if or #ifdef conditions)

Here a screenshot of Visual Studio 2017 on a Windows box. The macro _WIN32 is defined here:

devenv_2017-04-23_03-44-55

Visual Studio Code doesn't handle this functionality at all, here's the same code as shown by VSCode, on a Linux box (_WIN32 not defined. __linux__ defined) :

screenshot_2017-04-23_03-48-58

(the syntax highlighting is also broken, this bug was reported by issue #25198)

@mjbvz mjbvz self-assigned this Apr 24, 2017
@mjbvz mjbvz added the feature-request Request for new features or functionality label Apr 24, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 24, 2017

Related to #15710

@mjbvz mjbvz added the External label Apr 24, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 24, 2017

Tracked on the c++tools extension by microsoft/vscode-cpptools#510

Closing as external

@mjbvz mjbvz closed this as completed Apr 24, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants