This is a simple extension for Tornado templates.
- Syntax highlighting,
- Code snippets.
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
Users appreciate release notes as you update your extension.
Born ^_^
Easy, the extension has two parts:
- The syntax highlight, just put it in the extension folder
- The snippets, past it in the
Tornado.json
snippets configuration.
After switching to VSCode, found that it was easier, and the snippets are exactly like the one in Atom, and to make the syntax highlighting, it was the easiest step:
-
npm install -g yo generator-code
-
yo code
-
And then choose
New language support
-
Then past TextMate Django link
-
Then, just edit your
tmLanguage
and put theTornado
keywords, you can also convert it tojson
by this online tool