About 2,920 results
Open links in new tab
  1. visual studio code - How can I define macros for the C

    Luckily, VS Code's C/C++ extension supports a compile_commands.json database. This stores information specific to every individual source file including the defines, include directories, …

  2. C++ extension settings reference - Visual Studio Code

    For general information about settings in VS Code, refer to Configure settings, as well as the Variables reference and Default VS Code Settings. ... defines: A list of preprocessor definitions …

  3. How do you define something so that VScode can assume it is defined

    May 26, 2022 · Next, add any preprocessor defines to the defines array: { "configurations": [ { "defines": [ ... "YOUR_DEFINE_HERE" ], ... } ], ... } Now, VScode will treat your value(s) as …

  4. Configure C/C++ IntelliSense - Visual Studio Code

    This article is about configuring the C/C++ extension to provide C++ specific IntelliSense suggestions in Visual Studio Code. IntelliSense is a helpful tool built into VS Code that …

  5. VSCode: Set C/C++ preprocessor macro for static analysis

    May 8, 2021 · Options for defining preprocessor macros with parameters for entire project or solution in Visual Studio

  6. IntelliSense for cross-compiling - Visual Studio Code

    This article is about configuring the C/C++ extension to provide proper IntelliSense (e.g. code completions) in Visual Studio Code when you compile for a different architecture than your …

  7. Frequently asked questions - Visual Studio Code

    In that view, you can change the compiler you want to emulate, the paths to include files you want to use, preprocessor definitions, and more. Or, if you install a build system extension that …

  8. C/C++ Preprocessors Visualizer - Visual Studio Marketplace

    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 …

  9. Add custom preprocessor definitions? #304 - GitHub

    If you opt-in to the new IntelliSense engine via "intellisenseEngine": "Default" you can set "defines" in your c_cpp_properties.json file and we will respect them for the features that the …

  10. Intellisense Can't Find Preprocessor Definition from "defines ... - GitHub

    May 26, 2020 · Bug Description: Intellisense can't find preprocessor macro definitions that are passed to the defines field in the c_cpp_properties.json file. This bug occurs regardless of the …

Refresh