Skip to content

Commit f9735c4

Browse files
author
Paul Johnston
committed
Update README.md
1 parent a8513a5 commit f9735c4

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
Additional support for [rules_cc](https://github.com/bazelbuild/rules_cc) in
44
conjunction 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>.

0 commit comments

Comments
 (0)