A Visual Studio Code extension for cht.sh.
- Zero configuration: works out of the box.
- Automatically detects programming language from current editor window.
openInNewEditor
: open snippets or in new editor window (default) in line with current document.verbose
: add comments around code snippets.
Install this extension from the VSCode Marketplace
- Hit ⌘ Command + ⇧ Shift + p
- Run
Snippet: Find
. - Type your query and hit enter.
- Select some text in an editor window.
- Right click and choose "Find snippet from selected text"
Alternatively, you can also run the Snippet: Find Selected Text
from the
command menu:
You can configure a keyboard shortcut. By default this is ⌘ Command + ⇧ Shift + s:
This plugin is far from feature-complete.
If you want to improve it, feel free to pick one of the open issues and give it a shot.
In case you need any help, just add a comment to the issue to get a conversation started. 😃