1-firstly you need clang-tidy.exe(completely working is what come with clion.)
others are not work: msys2 , official, qt creator.
Actually it's work what come with qt creator but it gives less information than clion.
2-settings.json should be:
{
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json",
1-firstly you need clang-tidy.exe(completely working is what come with clion.) others are not work: msys2 , official, qt creator. Actually it's work what come with qt creator but it gives less information than clion.
2-settings.json should be: { "cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json",
}
3-Bug Fix: you must convert source path seperators from \ to / in command from compile_commands.json
from
"command": "C:\msys64\mingw64\bin\g++.exe -g -o CMakeFiles\demo.dir\main.cpp.obj -c C:\Users\x64\vscodeProjects\demo\main.cpp",
to
"command": "C:\msys64\mingw64\bin\g++.exe -g -o CMakeFiles\demo.dir\main.cpp.obj -c C:/Users/x64/vscodeProjects/demo/main.cpp",