denofevil / AureliaStorm

This plugin brings support for Aurelia framework to the IntelliJ platform
MIT License
35 stars 6 forks source link

New features, e.g. similar to Angular/React #35

Closed seagullmouse closed 5 months ago

seagullmouse commented 5 years ago

Firstly, thanks so much for this plugin: it's been invaluable for me!

Do you intend to add more functionality/features to this plugin?

For inspiration I've just been looking at the WebStorm 2019.1 new features. In general it looks like IntelliJ is becoming more framework 'aware', i.e. views and models are aware of each other, views are aware of components etc. It would be wonderful if we could achieve something like this for Aurelia

A few things specifically spring to mind from my usage.

  1. Making views aware of locations of components, i.e. X would autocomplete in "
  2. Auto-add the require statement when using a component, e.g. typing <my-component> would suggest adding the require for that component.
  3. Refactoring of component locations should update locations in require tags.
  4. Improve inspections to support valid view syntax e.g. <td>${faker.random.number({min:0, max:10000})}</td> currently throws a Syntax error: ',expected'

Thanks again for your work on this!

denofevil commented 5 years ago

4 is fixed via 95d0e650c63b2a19f895b6286c16202e65933404 3 is #14, #3 I think that 1 would be covered by #15

seagullmouse commented 5 years ago

Another useful addition would be syntax highlighting for repeaters. e.g.

<template repeat.for="groupType of groupTypes">
${groupType}
</template>

Thanks again