- Write a snippet in https://pawelgrzybek.com/snippet-generator
- Copy the resulting JSON
- Paste said JSON into
snippets.json
- Run
Format Document
command onsnippets.json
- Open a Pull Request
- Download Visual Studio Code then launch it
- Create a VSIX from this project (TODO: explain and github releases)
- Install said VSIX (TODO: explain and github releases)
Below are the currently implemented snippets
Shortcut Prefix | Description |
---|---|
Buttons | |
std-button |
button |
std-button-tooltip |
button with a tooltip |
std-button-disabled-tooltip |
button with class disabled and tooltip on a surrounding span |
ui-button-deny |
div with class ui black deny button |
ui-button-approve |
div with class ui green approve right button |
Misc | |
ui-segment |
div with class ui segment |
ui-form |
form with class ui form and method post |
ui-header |
div with class ui header |
ui-clearing |
div with class ui hidden clearing divider |
ui-modal |
div with class ui modal |