Type: LanguageService
Describe the bug
- OS and Version: Windows 1803(?) update
- VS Code Version: 1.34.0-insiders
- C/C++ Extension Version: 0.23.0-insiders
To Reproduce
- Have the above installed.
- Create a blank directory and open it in Code Insiders
- Create a new cpp file and write the contents:
#include <string_view>
std::string_view s = "foo";
There will be red squiggles on std::string_view. You can edit the c_cpp_properties.json file to include the line "cppStandard": "c++17", but that doesn't seem to help. No matter what the deduced C++ version is always less than C++17 (C++14?).
Expected behavior
Once adding "cppStandard": "c++17" to the configuration file, C++17 features should not give intellisense errors.
Type: LanguageService
Describe the bug
To Reproduce
There will be red squiggles on
std::string_view. You can edit thec_cpp_properties.jsonfile to include the line"cppStandard": "c++17", but that doesn't seem to help. No matter what the deduced C++ version is always less than C++17 (C++14?).Expected behavior
Once adding
"cppStandard": "c++17"to the configuration file, C++17 features should not give intellisense errors.