Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kiron1 committed Apr 4, 2024
1 parent b4f9da3 commit 376b4be
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run bazel-compile-commands",
"command": "bazel-compile-commands",
"type": "shell",
"isBackground": true,
"hide": true
},
{
"label": "Update compile_commands.json",
"command": "${command:clangd.restart}",
"isBackground": true,
"dependsOn": [
"Run bazel-compile-commands"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ This will generate a `compile_commands.json` file in the current directory.
- [Documentation](./documentation.md) or `man 1 bazel-compile-commands`
- [Download latest release](https://github.com/kiron1/bazel-compile-commands/releases/latest)

### VS Code integration

See the
[`.vscode/tasks.json](./.vscode/tasks.json) file as an example on howto integreat`bazel-compile-commands`
into VS Code.

## Build

### Linux and macOS
Expand Down

0 comments on commit 376b4be

Please sign in to comment.