-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseAn issue related to configuring the extension or IntelliSenseLanguage Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state
Description
Type: LanguageService
Describe the bug
- OS and Version: Windows 10 ,2004
- VS Code Version:
Version: 1.53.2 (system setup)
Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
Date: 2021-02-11T11:48:04.245Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.18363
- C/C++ Extension Version: 1.2.1
Steps to reproduce
With a simple hello world cpp program
#include <iostream>
using std::cout;
using std::endl;
int main(){
cout << "Hello, World" << endl;
return 0;
}Screenshots
- IntelliSence says it can't find include path
- But after I add include paths in c_cpp_properties.json, it don't change in Version 1.2.1

C/C++: Log Diagnostics
Version: 1.2.1
Current Configuration:
{
"name": "Win32",
"includePath": [
"C:/Program Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++",
"C:/Program Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed",
"C:/Program Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/include",
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.17763.0",
"compilerPath": "C:/Program Files/mingw64/bin/g++.exe",
"intelliSenseMode": "gcc-x64",
"compilerArgs": [],
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseModeIsExplicit": true,
"cStandardIsExplicit": true,
"cppStandardIsExplicit": true,
"compilerPathIsExplicit": true,
"browse": {
"path": [
"C:/Program Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++",
"C:/Program Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed",
"C:/Program Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/include",
"${workspaceFolder}/**"
],
"limitSymbolsToIncludedHeaders": true
}
}
Translation Unit Mappings:
[ F:\gitProject\Advanced\fhq.cpp ]:
F:\GITPROJECT\ADVANCED\FHQ.CPP
[ F:\gitProject\Advanced\fhq_threap.cpp ]:
F:\GITPROJECT\ADVANCED\FHQ_THREAP.CPP
[ F:\gitProject\Advanced\test.cpp ]:
F:\GITPROJECT\ADVANCED\TEST.CPP
Translation Unit Configurations:
[ F:\gitProject\Advanced\fhq.cpp ]:
Process ID: 13684
Memory Usage: 13 MB
Includes:
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE\C++
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE-FIXED
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE
Defines:
_DEBUG
UNICODE
_UNICODE
Standard Version: c++17
IntelliSense Mode: windows-gcc-x64
Other Flags:
--g++
--gnu_version=100000
[ F:\gitProject\Advanced\fhq_threap.cpp ]:
Process ID: 12020
Memory Usage: 13 MB
Includes:
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE\C++
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE-FIXED
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE
Defines:
_DEBUG
UNICODE
_UNICODE
Standard Version: c++17
IntelliSense Mode: windows-gcc-x64
Other Flags:
--g++
--gnu_version=100000
[ F:\gitProject\Advanced\test.cpp ]:
Process ID: 2368
Memory Usage: 19 MB
Includes:
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE\C++
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE-FIXED
C:\PROGRAM FILES\MINGW64\LIB\GCC\X86_64-W64-MINGW32\8.1.0\INCLUDE
Defines:
_DEBUG
UNICODE
_UNICODE
Standard Version: c++17
IntelliSense Mode: windows-gcc-x64
Other Flags:
--g++
--gnu_version=100000
Total Memory Usage: 45 MB
Additional context
- it doesn't work in version 1.2.1
- But it works in version 1.2.0
Metadata
Metadata
Assignees
Labels
Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseAn issue related to configuring the extension or IntelliSenseLanguage Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state