Polymer / vscode-plugin

Provides autocompletion, linting, and more for web components.
Other
74 stars 11 forks source link

Provide go to definition in the Javascript classes #71

Closed abdonrd closed 5 years ago

abdonrd commented 7 years ago

When I have something like:

<link rel="import" href="../bower_components/polymer/polymer-element.html">
<link rel="import" href="../bower_components/lazy-imports/lazy-imports-mixin.html">

<dom-module id="app-shell">
  <template>
    <!---->
  </template>

  <script>
    class AppShell extends Polymer.LazyImportsMixin(Polymer.Element) {
      static get is() {
        return 'app-shell';
      }

      //
    }

    window.customElements.define(AppShell.is, AppShell);
  </script>
</dom-module>

It would be reaally great to have go to definition when I click in Polymer, LazyImportsMixin or Element, etc.

abdonrd commented 5 years ago

Closing and old issue.