1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-27 15:13:40 +03:00

updated info about vscode-snippet

This commit is contained in:
Igor Chubin 2018-07-15 23:41:19 +02:00 committed by GitHub
parent 2df6a8b565
commit 18f555a128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,7 +382,7 @@ because you know what happens when you do.
## Editors integration
You can use *cheat.sh* directly from the editor (*Vim* and *Emacs* are currently supported).
You can use *cheat.sh* directly from the editor (*Vim*, *Emacs* and *Visual Studio Code* are currently supported).
Instead of opening your browser, googling, browsing Stack Overflow
and eventually copying the code snippets you need into the clipboard
and later pasting them into the editor,
@ -467,10 +467,16 @@ Or, if you want to scroll and/or pause, the same on YouTube:
### Visual Studio Code
* [vscode-snippet](https://github.com/mre/vscode-snippet)
* Install it from [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=vscode-snippet.Snippet)
Usage:
1. Hit <kbd>⌘ Command</kbd> + <kbd>⇧ Shift</kbd> + <kbd>p</kbd>
2. Run `Snippet: Find`.
3. Type your query and hit enter.
[![vscode-snippet](https://raw.githubusercontent.com/mre/vscode-snippet/master/preview.gif)](https://github.com/mre/vscode-snippet)
## Special pages
There are several special pages (their names are always starting with a colon),