Lewis Lucas

Results 16 comments of Lewis Lucas

ADD: The performance issue do not occured in Linux. I don't know why. [clangd.log](https://github.com/clangd/vscode-clangd/files/13044375/clangd.log)

> Clangd will only index the project if it contains a `compile_commands.json` file with entries for every source file in the project. > > I assume that's not the case...

This recording may give you a better understanding of my problem here. https://github.com/clangd/vscode-clangd/assets/48874489/67b8b188-9bff-48a7-9f50-a194cead59b2

> > I[23:08:12.423] (built by Brecht Sanders) clangd version 16.0.6 > > I[23:08:12.424] argv[0]: D:\Software\Mingw-w64\bin\clangd.EXE > > I've noticed that this is not an official windows clangd release. Looking around...

> > But the official clangd.exe is using MSVC headers, how can i configure it to use GCC headers from WinLibs? > > One typical way is to have clangd...

I specified the `--query-driver` parameter in the clangd plugin of VSCode, and now it can recognize the `WinLibs` header files correctly. I will continue testing to determine if there is...

The problem still exists, it's just that this time it's stuck at "Parsing Includes, parsing main file". Every time I input a character, `clangd` takes about 2-3 seconds to respond...

I believe it is not an issue with the `Winlibs` thread model, because when I switched the entire toolchain to `MSYS2` (ucrt-gcc13-clang17), the problem still persisted

> Note that the same workaround mentioned in that issue applies too: use the standard prior to c++20. 请注意,同样的解决方法也适用于该问题:使用 C++20 之前的标准。 > > ```yaml > CompileFlags: > Add: [-std=c++17] >...