flipperdevices / flipperzero-ufbt

Compact tool for building and debugging applications for Flipper Zero.
https://pypi.org/project/ufbt/
GNU General Public License v3.0
598 stars 40 forks source link

Navigating source and errors when loading in VSCode #32

Closed CodeBradley closed 3 months ago

CodeBradley commented 10 months ago

How do I find by reference, definition, etc in vscode when modifying the source code? I installed the clangd extension but it just shows me nonstop errors, so I'm guessing it needs a config file or not the right extension. I already ran ./fbt vscode_dist before opening in vscode after git clone.

hedger commented 10 months ago

Does your app build successfully? Do you have a compile_commands.json file in your .vscode folder? Which errors does VSCode show?

CookiePLMonster commented 9 months ago

May be related to https://github.com/microsoft/vscode-cpptools/issues/11889

hedger commented 3 months ago

Please check again with latest SDK - there were significant improvement in clangd support. Re-open if issue still exists.