Skip to content

Commit

Permalink
fix: markdown code blocks should be fenced by blank lines
Browse files Browse the repository at this point in the history
Signed-off-by: Li Zhanhui <[email protected]>
  • Loading branch information
lizhanhui committed Jun 13, 2024
1 parent 490359d commit bbde88e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,11 @@ if "com_google_googletest" not in native.existing_rules():

[Clangd](https://clangd.llvm.org/) is a really nice code completion tool. Clangd requires compile_commands.json to work properly.
To generate the file, run the following command:

```sh
./tools/gen_compile_commands.sh
```

Once the script completes, you should have compile_commands.json file in the workspace directory, aka, ${repository}/cpp.

LLVM project has an extension for [clangd](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd). Please install it from the extension market.
Expand Down

0 comments on commit bbde88e

Please sign in to comment.