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

How can I use this as a plugin for typescript LSP? #12

Open
skulltraill opened this issue May 9, 2023 · 0 comments
Open

How can I use this as a plugin for typescript LSP? #12

skulltraill opened this issue May 9, 2023 · 0 comments

Comments

@skulltraill
Copy link

For context: I am trying to use this with the helix editor, so that I can have styled-components in ts files with CSS autocomplete.

Helix does not support plugins yet, so I need to add it as a plugin to the typescript-language-server LSP.

Having read Helix's LSP integration documentation and also the typescript-language-server initializationOptions for plugins, as well as this repos documentation, it is not clear to me how I would go about integrating typescript-styled-plugin with typescript-language-server to work globally across all my usage of Helix.

I'd rather not install typescript-styled-plugin as a dev dependency via npm to all of my projects, and would rather integrate it with Helix LSP so that I can use it seamlessly across all my typescript + styled-components projects whenever I use helix.

I'm hoping someone has achieved this already and can share some insight.

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