Closed sunnyAfterSnow closed 8 months ago
When I install a higher version of LSP-volar on Sublime Text 3211, clone a specific version through git, as shown below
the python console will report an error, the error is as follows
All in all, the highest version of lsp-volar installed on Sublime Text 3211 is, 1.1.3. Versions higher than this will report similar errors in the python console, which will eventually cause the language server to fail to install
My best advice to you is to install Sublime Text 4. LSP works way better in ST4.
Is there any reason why you still stick with ST3?
My best advice to you is to install Sublime Text 4. LSP works way better in ST4.
Is there any reason why you still stick with ST3?
The only reason I use ST3 is for learning and research purposes. ((Of course, I will whisper that I only purchased the ST4 license key a few days ago)
I used to use VSCode but got a bit tired of it permanently. I wanted to experience something new, so I switched editors. I'm a new player in Sublime Text, and I'm not very familiar with the environment here.
I found that many packages and plug-ins are developed based on ST2 and ST3. At present, there are very few packages developed based on ST4 (most of which I don’t need). So a natural idea is that these old packages and plug-ins can be used normally in ST4. ?
Currently I have 2 sublime versions installed on my computer, one is the latest ST4 and the other is the latest ST3. I found that for new players of sublime text, if they only use the latest ST4, they will not know the following things
Why is the TypeScript package not allowed to be installed by package control in ST4? (Because ST4 has built-in TS support, if it is installed, a duplicate code prompt will appear. The package control detects the compatibility of the plug-in and the Sublime Text version for us, avoiding errors)
Why does ST4 not install Babel, JSCustom and other modern JavaScript plugins? (Because ST4 has built-in modern JS language support, there will be conflicts if installed)
Why are there 2 or even 3 versions in the information description of many packages? (one compatible with ST4, one compatible with ST3, if there is a third, then compatible with ST2)
... and so on.
All in all, I will know more if I use multiple versions of sublime text at the same time.
The following is the running status of LSP-volar on the latest ST4, everything is ok. But I think, as a plug-in labeled ST3, it should not fail to run in the ST3 environment
This is a bug but there is really no reason to use ST3 these days. You haven't really provided any convincing argument why you would use ST3. All plugins that worked in ST3 should work just fine with ST4 and the TypeScript package was always pretty bad. Use LSP-typescript instead.
It's now addressed by creating a separate, legacy release for ST3.
my environment
SublimeText 3122 ( latest third version )
LSP 0.14.3 ( the highest version LSP matching ST3 )
LSP-volar 1.1.13 ( Install a higher version of lsp-volar, the python console will report an error, which will be described in detail later )
lsp-utils setting:
local node version Sublime Text Installation Directory/Data/Package Storage/lsp_utils/node-runtime/16.15.0
language server version Sublime Text Installation Directory/Data/Package Storage/LSP-volar/16.15.0
Screenshot below![image](https://github.com/sublimelsp/LSP-volar/assets/76153457/8b9659d2-e349-417c-9088-f10f8a59b82e)