Skip to content

Add menu popup for enabling/disabling define #13672

Open
@AdamKlob

Description

@AdamKlob

Feature Request

Consider following:

#if SOMETHING
/* some code */
#ENDIF

I'd like to be able to change how SOMETHING is defined for purpose of Intellisense parsing via right-click menu. This menu should have following entries:

Enable define (set to 1)
Disable define (set to 0)
Set value
Current value: ...

(the last one allows to set specific value)

Each option should should change "defines" in c_cpp_properties.json accordingly, and trigger Intellisense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestFeature: ConfigurationAn issue related to configuring the extension or IntelliSensehelp wantedCan be fixed in the public (open source) repo.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions