Skip to content

Releases: Julien-R44/adonis-vscode-extension

v1.3.0

08 May 00:27
Compare
Choose a tag to compare
  • Fix a bug where Controller Methods were displayed as autocomplete suggestions in places where they should not be.
  • Added the env:add command. Can be executed through the command palette or the tree view.

Full Changelog: v1.2.1...v1.3.0

Inertia suggestions for React/Svelte

01 Feb 12:42
Compare
Choose a tag to compare

What's Changed

  • Implement react & svelte suggestions & linker for intertia by @pixelmund in #33

New Contributors

Full Changelog: v1.2.0...v1.2.1

V6 support

10 Jan 10:37
Compare
Choose a tag to compare

Official release of the extension. All previous versions ( 1.1.x ) were pre-releases only

This version supports Adonis 5 and Adonis 6. If you ever want to continue supporting both via the extension, then make sure to keep this version. Future ones will only support Adonis 6..

Note also that this extension removes all Edge related features. Edge now has its own extension: https://github.com/edge-js/edge-vscode

Read the previous changelog for more information on the changes in this new release

Remove Edge related stuff

10 Nov 20:25
Compare
Choose a tag to compare
Pre-release

This version remove all Edge related features :

  • Autocompletion for views/components in .edge and .ts files
  • Go to template on click on .edge and .ts files
  • Syntax highlighting + language configuration for Edge
  • Edge snippets
  • And others

We have ported all these features to the Edge standalone extension here:

https://marketplace.visualstudio.com/items?itemName=AdonisJS.vscode-edge

Minor fixes

04 Nov 17:28
Compare
Choose a tag to compare
Minor fixes Pre-release
Pre-release

Fixes

  • Some edge tags were not recognised by the extension: inject, let, and eval.
  • RC file parsing did not work when some property keys were defined using identifiers instead of string literals

Support for `adonisrc.ts` file

27 Aug 16:59
Compare
Choose a tag to compare
Pre-release

For version 6, we'll allow users to define the rc file via an adonisrc.ts file. This means defining options via typescript rather than JSON

This release adds two things:

  • Previously, to detect when to activate the extension, we relied on the presence of an adonisrc.json file. If this file was found, the folder was considered to be an Adonis project. Now, the adonisrc.ts file is also taken into account for that.
  • We also parse the adonisrc.ts file using AST, in order to extract certain properties required for the extension to works correctly

Bugfix

19 Aug 15:30
Compare
Choose a tag to compare
Bugfix Pre-release
Pre-release

Changes

  • @unless was detected as an edge component

Full Changelog: v1.1.7...v1.1.8

Custom views directory

26 Jul 11:14
Compare
Choose a tag to compare
Pre-release

Changes

  • Added support for custom views directory. With Adonis projects, you can define a custom folder that will holds your template like :

     {
       "directories": {
         "views": "templates"
       },
     }

    this is now handled by the extension. your links and autocompletion will work correctly

  • Fixed bug that highlighted @!section and @slot as custom components

Near the end

23 Jul 21:27
Compare
Choose a tag to compare
Near the end Pre-release
Pre-release

Changes

  • Fix components-as-tags detection. Extension was detecting email litteral strings or even some TS decorators as components.
  • Re-implement commands tree view that also works with Adonis 6
  • Add a new "Open command file" in the commands tree view. An icon will be displayed next to each item that is a custom command and will allow you to open the related file

we should be feature-complete for the next stable release now. all we need to do now is fix the introduced bugs

Improvements

23 Jun 12:45
Compare
Choose a tag to compare
Improvements Pre-release
Pre-release

Improvements

  • Added a new pretty TreeView that list all adonis projects in the current workspace. This allows to select one as a current active project. When one project is select, that means all tree views are now scoped to this project. For example, the routes tree view will only show routes for this project. Commands tree view will also only show commands for this project. Ace commands like make:controller will be executed on this project etc.
    image

  • Add "Create view" code action. If your code is referencing a missing view, then this code action will be proposed. It will create and open the missing view for you.

createmissingview

  • Now we are displaying a pretty welcome view when no Adonis project has been found in your workspace instead of displaying empty views.

image

  • Fixed a bug that caused the full absolute path of the open file to be displayed when clicking on a route in the treeview. This led to multiple duplicate entries in the editor history.