README
Visual Studio Code UUI Snippets
Using
Type part of a snippet, press enter, and the snippet unfolds.
Snippets named as the tag without braces
u-html --> <html>...</html>
u-form --> <form>...</form>
Installation
- Install Visual Studio Code 1.23.0 or higher
- Launch Code
- From the command palette
Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
- Select Install Extension
- Type
uui-snippets
- Choose the extension
- Reload Visual Studio Code
FAQ
How to enable the snippets on a file other than html?
Add the following code to the project settings.json or global settings.json :
"files.associations": {
// extension name : html
"*.ejs": "html",
"*.js": "html"
}
the above code will allow html snippet to work on .ejs and .js files, amend to fit your needs.
License
MIT License, refer to license file.
| |