Adonis JS Snippets
Now Updated for latest release
This extension for Visual Studio Code adds snippets for Adonis JS. More Snippets will be coming soon just release.
Contributors
Hridoy
See the CHANGELOG for the latest changes
Usage :
Just type the trigger and hit the tab key. For example...
Base
ado-
Some Example
ado-aask
ado-encencrypt
ado-encdecrypt
ado-rescookie
ado-rGet
Examples
Ace:
Controller: ado-cCreate
Encryption:
Event:
Hash:
Helpers
Internationalization:
Lucid: Hooks, ORM, ORM Operations and
Relations.
Mail:
Nunjucks: Filters, Form.
Redis:
Request: Ally, Auth, Cookie, Session.
Response: Descriptive, Redirect,
Redirect.
Route: Group, Option.
Schema: Table, Table chain.
Seeder: Fake.
Settings:
Validation:
View:
Alternatively, press Ctrl
+Space
(Windows, Linux) or Cmd
+Space
(OSX) to activate snippets from within the editor.
Installation
- Install Visual Studio Code 1.10.0 or higher
- Launch Code
- From the command palette
Ctrl
-Shift
-P
(Windows, Linux) or Cmd
-Shift
-P
(OSX)
- Select
Install Extension
- Choose the extension
- Reload Visual Studio Code