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 · 1 comment
Open

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

skulltraill opened this issue May 9, 2023 · 1 comment

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.

@johnend
Copy link

johnend commented May 30, 2024

Same I would like to do the same within NeoVim. I work on a team that mostly uses VSCode and I would prefer to not pollute the tsconfig for them when they can use the VSCode plugin. Global configuration would be really good to document if it is indeed possible via the LSP.

I realise this issue is old, but I'm failing to find how to do this anywhere.

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

2 participants