Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>C/C++ Preprocessors VisualizerNew to Visual Studio Code? Get it now.
C/C++ Preprocessors Visualizer

C/C++ Preprocessors Visualizer

Bastien Jubineau

|
786 installs
| (0) | Free
Intuitive visual cues for macro and preprocessor directives
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C/C++ Preprocessors Visualizer

This extension is a tool for a better visualization of preprocessor directives in C/C++ code.

Extension is under development.

Features

  • [x] Outline conditionnal (#if,#ifdef,...) preprocessor directives when cursor is on a line containing one.

  • [x] Outline definition (#define, #undef) preprocessor directives when cursor is on a line containing one.

  • [x] Display tested conditionnal preprocessor directives next to the closing directive.

  • [x] Add commands to toggle the extension behavior on/off.

  • [ ] Highlight #define preprocessor directives. (Useful for multilines macro)

  • [ ] Add settings to personalize the extension behavior.

Extension Settings

  • c-cpp-preprocessors-visualizer.enable: Enable/disable this extension.
  • c-cpp-preprocessors-visualizer.outlines.enable: Enable/disable outlines display.
  • c-cpp-preprocessors-visualizer.hints.enable: Enable/disable hints display after directives.
  • c-cpp-preprocessors-visualizer.hints.activeEditorOnly: Display hints only in the editor your cursor is in.

Release Notes

0.3.3

  • Fix hints update when editing file
  • Refactor code to improve performance and readability. Parsing file once and save data. Use of class instead of functions.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft