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:

committed by
Chromium LUCI CQ

parent
e2352f78f6
commit
0a255c58fc
1
AUTHORS
1
AUTHORS
@ -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
|
||||
|
Reference in New Issue
Block a user