Intellisense Can't Find Preprocessor Definition from "defines" Field of "c_cpp_properties.json" #5572
Labels
Feature: Configuration
An issue related to configuring the extension or IntelliSense
Language Service
more info needed
The issue report is not actionable in its current state
Type: LanguageService
Describe the bug
Steps to reproduce
int var_bar = BAR;
line.Expected behavior
The defines field in the c_cpp_properties.json file contains a list of preprocessor definitions for the IntelliSense engine to use while parsing files. So, as FOO is written in defines, IntelliSense should NOT show error in
int var_bar = BAR;
.Logs
Screenshots
The text was updated successfully, but these errors were encountered: