Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Installing clangd in vscode breaks simulation and debugging #6

Open
r4stered opened this issue Nov 26, 2023 · 2 comments
Open

Installing clangd in vscode breaks simulation and debugging #6

r4stered opened this issue Nov 26, 2023 · 2 comments

Comments

@r4stered
Copy link
Contributor

After installing the clangd extension in vscode, it asks to disable the C++ intellisense engine for it to work correctly, but after reloading the windows and trying to run "simulate robot code" or anything related to C++, vscode comes up with an error saying "no deployers found"

image
image

Im not sure how to fix this, but it seems like it has something to do with clangd extension disabling some feature of the c++ extension

@theVerySharpFlat
Copy link
Owner

Well, as a neovim user, I generally use the command line, so I use ./gradlew simulateNative to run the simulation program. Perhaps there's an issue with gradle-cpp-vscode. I'll take a look.

@theVerySharpFlat
Copy link
Owner

Im not sure how to fix this, but it seems like it has something to do with clangd extension disabling some feature of the c++ extension

Yeah, somehow the CPP intellisense is conflicting with clangd. All you have to do (I'm 99% sure) is modify your $projectRoot/.wpilib/wpilib_preferences.json and set the "enableCppIntellisense" flag to false.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants