LSP Question when using Xcode generators #4222
Replies: 2 comments 2 replies
-
@Colengms @sean-mcmanus Looping folks in that can help provide context to this conversation. They are maintainers of the C++ extension. |
Beta Was this translation helpful? Give feedback.
-
@lucianthorr there are no LSP features tied specifically to a C++ configuration so every extension out there has its own way of doing things.
Microsoft's C++ extension communicates directly with the CMake Tools extension as @sean-mcmanus mentioned so it gets the information from CMake's File API instead of |
Beta Was this translation helpful? Give feedback.
-
I'm really not sure if this is a question for the cmake-tools extension or the cpptools extension so forgive me if I'm in the wrong place.
Can anyone explain or point me in a direction for how the VSCode LSP features (intellisense, etc) work for CMake C++ projects that are using Xcode as the generator? From my understanding the clangd LSP relies on a
compile_commands.json
file for project file information but from my understanding Xcode doesn't generate one. How are the VSCode extensions able to work without that piece of the puzzle?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions