ActivityBar and Tree Views
Run your commands without typing anything, See your routes and go to its code just by clicking on the items in the Activity Bar.
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 the handler of controllers. Ctrl + Click to open the file. Hovering the handler will show its documentation.
Syntax highlighting, auto-completion of tags including partials, components, layouts. Ctrl + Click to open an included file. No automatic formatting for the moment.
Snippets for Edge 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) by the extension, feel free to make a PR if you'd like to contribute to the project:
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. 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 settings:
But be warned, this will automatically display intellisense even in "traditional" strings
Emmet doesn't work in Edge files
Just add this in your VSCode settings: