-
Notifications
You must be signed in to change notification settings - Fork 199
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
It would be nice if ../ always meant "look at the bower directory" #934
Comments
I just downloaded and followed the instructions in the README and for me the linter was not recognizing these |
It's a problem for users (in any editor, VSCode, Atom or Sublime) that deals with lots of components and prefers to open the big parent folder, yeah. Specially when not all the dependant elements are in sibling directories, as in Polymer/vscode-plugin#18. |
Yeah, this would make the editors easier to use and less fragile, as you wouldn't have to make your workspace root exactly right. We could keep the current behavior for the analyzer by adding a new URL resolver that searches for a bower_components directory when resolving a ../ URL anywhere. What do you think @justinfagnani ? |
In the analyzer side you don't even get the |
@rictic I need to understand what's going on here. The PackageUrlResolver should already be doing this. |
|
@rictic any updates on this? Do you use any workarounds to live with this limitation and still be able to use this Jump To Definition feature? |
Issue migrated to polymer/tools#452 |
Re-opening because this original issue is now transferred and canonical again. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen! |
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.
The text was updated successfully, but these errors were encountered: