Launch ace commands directly from VScode. Files created by adonis/assembler are automatically opened after their creation.
List all routes in your project from VSCode and filter them.
Consult and search the Adonis and Japa documentation directly from VSCode.
JSON Schema for .adonisrc
Route controller completion + Go To
Autocompletion for the name and handler of the controllers, alt+click to open the file, and the docblock documentation of the method that is displayed in hover.
Syntax highlighting, auto-completion of the tags that includes partials/components/layouts, alt+click to open an included file, many snippets... No automatic formatting for the moment
Snippets for Edge, Japa, and AdonisJS are defined, take a look here to see the list of snippets.
Since I'm not a big snippet user, feel free to propose a PR with snippets you think are useful.
Below is the list of unsupported features (for the moment), feel free to make a PR if you want them to be delivered faster:
IntelliSense while typing
In the context of controller and view autocompletion, we are inside strings. By default, VSCode totally disables the display of IntelliSense suggestions inside strings. So if you want to see the autocompletion of your controllers and views, you will have to press CTRL+Space to manually trigger IntelliSense.
If you want the suggestions while typing, you can add this to your VSCode configuration :
But be warned, this will automatically display intellisense even in "traditional" strings
Emmet doesn't working in edge files
Just add this in your VSCode settings :