lifeart / ember-language-server

Language Server Protocol implementation for Ember.js and Glimmer projects
https://marketplace.visualstudio.com/items?itemName=lifeart.vscode-ember-unstable
MIT License
31 stars 16 forks source link

glimmerx support - for inline templates add global scoped values #321

Open lifeart opened 2 years ago

lifeart commented 2 years ago

https://github.com/glimmerjs/glimmer.js/issues/365#issuecomment-940486548 should be used

tldr: we need to get "goToDefinition" working for glimmerx components with hbs literal.

For it - we need to extract all tokens from template, find usages of this tokens in script file, and send user to it :)

lifeart commented 2 years ago

we need to get location of collected tokens