You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSVC C++ IntelliSense gets very confused with recent SDK versions. (Tested with Visual Studio 2019, 2022, and 2022 Preview builds.) Is this perhaps an upstream LLVM 14.0 issue?
(Variants of this issue appear in other MSVC projects that utilize wasi-sysroot but run through MSVC for IntelliSense.)
MSVC C++ IntelliSense gets very confused with recent SDK versions. (Tested with Visual Studio 2019, 2022, and 2022 Preview builds.) Is this perhaps an upstream LLVM 14.0 issue?
(Variants of this issue appear in other MSVC projects that utilize wasi-sysroot but run through MSVC for IntelliSense.)
Steps to reproduce
Create empty directory
Download latest sysroot release (https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-21/wasi-sysroot-21.0.tar.gz)
Extract sysroot into
[directory]\wasi-sysroot
Create
test.cpp
with the following contents:Create
CppProperties.json
with the following contents:Open Visual Studio > File > Open Folder >
[folder path]
Observe (after a bit of waiting), Visual Studio shows red squiggles™️on
std::string
usageClose Visual Studio
Delete
[folder]\.vs
Edit
CppProperties.json
and changeintelliSenseMode
towindows-clang-x64
Open Visual Studio > File > Open Folder >
[folder path]
Observe (after a bit of waiting), Visual Studio shows no squiggles™️
The text was updated successfully, but these errors were encountered: