Skip to content

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

Open
@skulltraill

Description

@skulltraill

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions