sublimelsp / LSP-typescript

TypeScript, JavaScript support for Sublime LSP plugin
MIT License
131 stars 11 forks source link

In need of dep updates, missing `using` #221

Closed brian6932 closed 8 months ago

brian6932 commented 8 months ago

Currently doesn't support the using keyword The current typescript version says Unexpected keyword or identifier

rchl commented 8 months ago

The bundled version of Typescript is at 5.2.2 which supports using.

If your project has older version of Typescript then that could be the problem because by default this server uses Typescript version that is installed in the project or globally in the system and only then fall-backs to using bundled version.

The used Typescript version is logged in LSP logs of your editor.

brian6932 commented 8 months ago

I'm talking about the use of lsp-ts in a javascript project, without ts installed at all, it can only use lsp-ts's install(?)

Serega124 commented 8 months ago

The bundled version of Typescript is at 5.2.2 which supports using.

PR #220 is not merged yet, so the bundled version of Typescript is 5.0.4

rchl commented 8 months ago

Right. I confused this issue as being reported in typescript-language-server instead

rchl commented 8 months ago

Published new version with typescript update: https://github.com/sublimelsp/LSP-typescript/releases/tag/v2.5.0