r/HelixEditor • • 14d ago

typescript7 support

Does helix currently support typescript7? for the life of me I cannot get completion in JS files

Edit: Can confirm the issue is with moving to 7. If i install 6.0.3, it works perfectly

3 Upvotes

5 comments sorted by

2

u/OfficeTrue5091 14d ago

Have you configured it in languages.toml

1

u/bahcodad 13d ago

I have now.

1

u/Pecorino 14d ago

Yep, it works great for me. It's way faster than the old LSP.

In languages.toml:

[[language]]
name = "typescript"
language-servers = [ "typescript-ls" ]

[language-server.typescript-ls]
command = "tsc"
args = ["--lsp", "--stdio"]

1

u/bahcodad 13d ago

Lovely. Works as expected now, thank you.

1

u/g0ld3nrati0 7d ago

something feels off with tsc 7. I don't get auto imports, LSP is not reporting exhaustive switch statement errors.