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

No custom scope for template literal tags #727

Closed
Pajn opened this issue Feb 26, 2019 · 1 comment
Closed

No custom scope for template literal tags #727

Pajn opened this issue Feb 26, 2019 · 1 comment

Comments

@Pajn
Copy link

Pajn commented Feb 26, 2019

TS and JS Grammar Extension version: 0.0.49 / latest

Code

// Please include a code snippet that demonstrates the issue
styled.div``

div here has scope

variable.other.property.ts
meta.var.expr.tsx
source.tsx

It would be nice if it had a custom scope similar to a function call which has the scope

entity.name.function.ts
meta.function-call.ts
meta.var.expr.tsx
source.tsx
@Pajn
Copy link
Author

Pajn commented Feb 26, 2019

I just discovered that

div``

do get a custom scope, it's just when having a member access that this fails

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

No branches or pull requests

1 participant