goodbyte-software / iot_with_golioth

Apache License 2.0
6 stars 0 forks source link

Clangd feature configuration #18

Open KiK-GB opened 1 month ago

KiK-GB commented 1 month ago

Clangd feature will install clangd, install vsc plugin, configure vsc plugin to work with this devcontainer.

ToDo: For best preformance clangd feature requires ZEPHYR_SDK_INSTALL_DIR, and path to compile-commands. For now they are hardcoded in /clangd/devcontainer-feature.json

Probably it is possible to pass $ZEPHYR_SDK_INSTALL_DIR to feature as parameter. [No, while feature is installed there are no env variables that could help us]

Also we could use fixed location of compile-commands ( /repo/ ) ald copy file there after build