Polymer / atom-plugin

Provides autocompletion, linting, and more for web components.
Other
32 stars 8 forks source link

It would be nice if ../ always meant "look at the bower directory" #3

Closed notwaldorf closed 8 years ago

notwaldorf commented 8 years ago

Context: if you have an enormous folder with a billion elements in it because you work on Polymer Elements and that's how you cope, auto-complete looks at the sibling directories rather than the bower deps, which may be woefully out of date.

TimvdLippe commented 8 years ago

I just downloaded and followed the instructions in the README and for me the linter was not recognizing these ../ paths. Since bower install creates bowercomponents/, in a usage project the imports are expected to be bower_components/paper-spinner/paper-spinner.html instead of ../paper-spinner/paper-spinner.html. Now this is an example project, so in general I think it is fine. Just my 2 cents of my initial impression of relative url imports.

rictic commented 8 years ago

Moved to https://github.com/Polymer/polymer-editor-service/issues/2