- VSCode Version: 1.10.1
- OS Version: windows 10
Steps to Reproduce:
- create a
.cpp file, write a #include statement, for example, #include <iostream>
- hover the mouse on the yellow lightbulb and generate
c_cpp_properties.json
- the
includePath property is not correct in my case. VSCode gives C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/* which in my case, the c++ library is under C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.10.24930\\include\\*
Perhaps need to detect which version of visual studio one has?
Steps to Reproduce:
.cppfile, write a#includestatement, for example,#include <iostream>c_cpp_properties.jsonincludePathproperty is not correct in my case. VSCode givesC:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/*which in my case, the c++ library is underC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.10.24930\\include\\*Perhaps need to detect which version of visual studio one has?