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

Implement getLocationInfoForPosition for javascript ASTs #908

Closed
TimvdLippe opened this issue Feb 14, 2017 · 4 comments
Closed

Implement getLocationInfoForPosition for javascript ASTs #908

TimvdLippe opened this issue Feb 14, 2017 · 4 comments

Comments

@TimvdLippe
Copy link
Contributor

To be able to implement autocompletion of various Javascript features (for example this.$.), we need an equivalent of the traversal of the HTML AST, but then for a Javascript AST.

Usage of this traversal will probably to first invoke getLocationInfoForPosition for the HTML AST. If the return is scriptTagContents, retrieve the AST of the Node and invoke the second function which traverses the AST.

@tedium-bot
Copy link
Collaborator

Issue migrated to polymer/tools#478

@aomarks aomarks transferred this issue from Polymer/polymer-editor-service Jan 3, 2019
@aomarks
Copy link
Member

aomarks commented Jan 3, 2019

Re-opening because this original issue is now transferred and canonical again.

@aomarks aomarks reopened this Jan 3, 2019
@stale
Copy link

stale bot commented Mar 4, 2020

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.

@stale stale bot added the wontfix label Mar 4, 2020
@stale
Copy link

stale bot commented Apr 30, 2022

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!

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

No branches or pull requests

3 participants