tools icon indicating copy to clipboard operation
tools copied to clipboard

Plugin for JetBrains IDEs (WebStorm, PhpStorm, IntelliJ etc.)

Open suamikim opened this issue 8 years ago • 7 comments

I'm submitting a feature request

  • Library Version: 1.0.8

Please tell us about your environment:

  • Operating System: Windows 10

  • Node Version: 6.9.4

  • NPM Version: 4.1.1

  • Browser: all

  • Language: TypeScript 2.1.5

Since it doesn't seem like JetBrains is going to natively support Aurelia soon (see this feature request) and the only available plugin doesn't seem to be maintained anymore I'd really love to see some official plugin from the Aurelia team like the one for VS Code.

I really believe that there are many people who'd also appreciate a decent plugin which supports some basic code completion, highlighting & code refactoring for the Aurelia views (again, see the YouTrack issue).

I just started using Aurelia extensively and I initially even considered moving from PhpStorm to VS Code for its better Aurelia support. "Unfortunately" I wasn't able to actually perform the change due to some missing features that I use a lot...

suamikim avatar Feb 08 '17 08:02 suamikim

+1 from me. WebStorm (+ the rest of Intellij IDEs) are on top of the IDE market. Toolkit is also one of the reasons taken into consideration when picking the stack.

Buslowicz avatar Feb 08 '17 08:02 Buslowicz

+1

HubertoKusters avatar Feb 08 '17 08:02 HubertoKusters

+1

ekzobrain avatar Feb 08 '17 09:02 ekzobrain

Please use reactions on the posts instead of +1 only comments please.

As far as I'm aware there was a member of Jetbrains working on a plugin; (as you've linked to) - potentially that could be PR'ed to improve it. I suspect someone from community (who uses webstorm) would need to step up to plate and take charge of a new plug-in and maintain it. That is what happened with the vscode plugin.

I'm aiming to get the new linting stuff back up and running in the next couple of months; which will check for issues in the html. So in principle any plugin for webstorm would only need to be a bridge between the editor and the linter spewing out the AST / issues.

MeirionHughes avatar Feb 08 '17 09:02 MeirionHughes

My Java knowledge is a bit dusty, but if there is a sample for IntelliJ somewhere that includes a textmate bundle then we could probably insert the same textmate definition as used by the vscode extension. As far as I can understand from google this seems possible.

Then you get syntax highlighting for IntelliJ. That won't add auto-complete, but might be a nice first step.

Ah, i missed the old plugin, will look into that and see if I can get that working/ what I need to setup on my machine to see this working and debug it.

eriklieben avatar Feb 08 '17 10:02 eriklieben

Hi everyone, the author of that plugin here. I'm very sorry, but it looks like both we (as the WebStorm team) and I (as a person) are quite limited on resources, so we would largely appreciate some help from the community. I'd be very happy if someone could stand up and pick up the work. I can help with the advice on IntelliJ platform APIs, problem investigations and some minor fixes. I can try to check whether the current version works for 2016.3/2017.1EAP so you won't have to start in a broken state. Features of the plugin include:

  • custom Aurelia attributes support (bind, one-way, ...)
  • syntax highlighting in attributes and interpolations
  • controller context for templates so the code is treated like it's executed in the controller instance

denofevil avatar Feb 08 '17 11:02 denofevil

WebStorm 2017.1 and AureliaStorm 0.4 has errors: "After patch: doc:" on code:

    <div class="container">
      <div class="alert alert-warning ${!lastError ? 'hidden' : ''}" role="alert">
        <button type="button" class="close" click.delegate="hideLastError()">&times;</button>
        ${lastError}
      </div>

      <router-view></router-view>
    </div>

Full error report: http://pastebin.com/LuxcLnJm

JayDi85 avatar Mar 21 '17 09:03 JayDi85