0

Update per-project snippets documentation for Vscode

The documentation for per-project snippets in Vscode is out of date.
The extension introduced (https://github.com/rebornix/vscode-project-snippet)
has been duplicated and is now supported by default in Vscode,
so the documentation needs to be updated.
See here for more information: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_project-snippet-scope

Change-Id: Idfbbbc857df1f956d71a9d646d2e36c7b19d2ec2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3348802
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#952843}
This commit is contained in:
Yuki Osaki
2021-12-20 05:35:26 +00:00
committed by Chromium LUCI CQ
parent e2352f78f6
commit 0a255c58fc
2 changed files with 4 additions and 4 deletions

@ -1249,6 +1249,7 @@ Youngsoo Choi <kenshin.choi@samsung.com>
Youngsun Suh <zard17@gmail.com>
Yuan-Pin Yu <yjames@uber.com>
Yuhong Sha <yuhong.sha@samsung.com>
Yuki Osaki <yuki.osaki7@gmail.com>
Yuki Tsuchiya <Yuki.Tsuchiya@sony.com>
Yumikiyo Osanai <yumios.art@gmail.com>
Yunchao He <yunchao.he@intel.com>

@ -338,6 +338,7 @@ Non-Googlers may follow may follow Microsoft's instructions for
VSCode should work remotely after following this step.
### Snippets
There are some useful snippets provided in
[//tools/vscode/cpp.json5](/tools/vscode/cpp.json5).
@ -347,11 +348,9 @@ platform):
$ cp tools/vscode/cpp.json5 ~/.config/Code/User/snippets/cpp.json
```
Or install them as project snippets after installing the [Project
Snippets](https://marketplace.visualstudio.com/items?itemName=rebornix.project-snippets)
extension:
Or install them as project snippets:
```
$ cp tools/vscode/cpp.json5 .vscode/snippets/cpp.json
$ cp tools/vscode/cpp.json5 .vscode/cpp.code-snippets
```
### Tips