File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33Additional support for [ rules_cc] ( https://github.com/bazelbuild/rules_cc ) in
44conjunction with [ bazel-stack-vscode] ( https://marketplace.visualstudio.com/items?itemName=StackBuild.bazel-stack-vscode )
55
6- > NOTE: this extension currently depends on an unreleased version of
7- > ` bazel-stack-vscode ` . This won't work for you just yet!
8-
96## Features
107
11- Problem matcher for rules_cc actions:
8+ ### Clang Compilation Database
129
13- - ` CppCompile `
10+ This extension provides a command ` Bazel/C++: Generate Compilation Database `
11+ (` bsv.cc.compdb.generate ` ) that produces a file
12+ ` ${workspaceDIrectory}/compile_commmands.json ` .
1413
15- ### 1.0.0
14+ To setup, edit your workspace settings (search for ` bsv.cc.compdb.targets ` ) and
15+ configure a list of bazel labels for the ` cc_binary ` or ` cc_library ` targets
16+ you'd like to be indexed. The tool will then produce a command set for the
17+ transitive closure of those top-level targets.
1618
17- Initial release .
19+ Works best in conjuction with < https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd > .
You can’t perform that action at this time.
0 commit comments