Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
seagullmouse opened this issue Apr 1, 2019 · 2 comments
Closed

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

seagullmouse opened this issue Apr 1, 2019 · 2 comments

Comments

@seagullmouse
Copy link

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
Copy link
Owner

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

@seagullmouse
Copy link
Author

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

<template repeat.for="groupType of groupTypes">
${groupType}
</template>
  • The reference to groupTypes in the view model is not recognised.
  • The reference to the new variable groupType in the view is not recognised.

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants