![]() 💻 Official AdonisJS extension for VSCodeFeatures
Ace commandsLaunch ActivityBar and Tree ViewsRun your commands without typing anything, See your routes and go to its code just by clicking on the items in the Activity Bar. List RoutesList all routes in your project from VSCode and filter them. DocumentationsConsult and search the Adonis and Japa documentation directly from VSCode. JSON Schema for .adonisrcRoute controller completion + Go ToAutocompletion for the name and the handler of controllers. Ctrl + Click to open the file. Hovering the handler will show its documentation. Edge supportSyntax highlighting, auto-completion of tags including partials, components, layouts. Ctrl + Click to open an included file. No automatic formatting for the moment. SnippetsSnippets 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. Configuration
Known IssuesBelow 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 typingIn 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 filesJust add this in your VSCode settings:
Contributing
|