microsoft / typescript-styled-plugin

TypeScript server plugin that adds intellisense to styled component css strings
MIT License
839 stars 58 forks source link

Enabling global code-snippets #90

Closed RareSecond closed 5 years ago

RareSecond commented 5 years ago

When I'm in a template literal, I'm unable to use my user-defined snippets. Is this an error on my end or did I forget to enable/disable something?

The reason for needing my snippets in the literals, is for an easy completion of elements that use props/theme values, e.g. this snippet

${props => props.theme.$1}

mjbvz commented 5 years ago

Where exactly are you trying to trigger the snippets? Please share some example code to explain

mjbvz commented 5 years ago

Closing as this needs more info