Skip to content

Add support for tsgo (typescript native preview)Β #4854

@danielpza

Description

@danielpza

Is your feature related or already mentioned on the wishlist? I don't see it there

See https://github.com/microsoft/typescript-go, https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.native-preview

This is a typescript reimplementation in go which is a lot faster.

So far here's what I've tried:

(lsp-register-client (make-lsp-client
                      :new-connection (lsp-stdio-connection '("tsgo" "--lsp" "-stdio"))
                      :activation-fn 'lsp-typescript-javascript-tsx-jsx-activate-p
                      :server-id 'tsgo-ls))

It works right until I save the buffer. Then I get a couple of crashes. Not sure if it's a misconfiguration or if it's just that unstable in the current build.

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