mirror of
https://github.com/vee1e/tflite-micro.git
synced 2026-09-01 17:57:27 +00:00
Add a target `bazel run :refresh_compile_commands` to generate `./compile_commands.json`, which can be used by various tools like editors and language servers to provide features like intelligent navigation and autocompletion based on the source graph and compiler commands. For more about this can be used: * [clangd: Teach your editor C++](https://clangd.llvm.org) * [Getting started with neovim's native LSP client: The easy way](https://dev.to/vonheikemen/getting-started-with-neovims-native-lsp-client-in-the-year-of-2022-the-easy-way-bp3#starting-from-scratch) * [Language Server Protocol](https://en.wikipedia.org/wiki/Language_Server_Protocol) BUG=cleanup, see description
15 lines
258 B
Text
15 lines
258 B
Text
/bazel-*
|
|
/compile_commands.json
|
|
*.swp
|
|
.vscode/
|
|
*audio_frontend*
|
|
*google*
|
|
*__pycache__*
|
|
venv
|
|
gen
|
|
|
|
# Ignore the directory in which `clangd` stores its local index.
|
|
/.cache/
|
|
|
|
# Ignore the `external` symlink added by `bazel-compile-commands-extractor`
|
|
/external
|