Better HN
topnewbestaskshowjobs
Log inSign up

xaberus

9 karma · joined Jun 12, 2022 (4y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

A slight correction: Pyright is the Microsoft provided _type checker_. Eric had no intention of ever extending it to a full LSP (though it is usually good enough) in fear of Microsoft abandoning it the moment it started to compete with Pylance [1]. Now that Eric has left Microsoft (but still is somehow the main contributor to Pyright) the situation is even stranger to me.

[1] https://github.com/microsoft/pyright/pull/7177#issuecomment-...

(In case you are wondering, I do not have the time to maintain an independent fork and I am not sure how Microsoft would react to one, now that I have heard Eric's concerns.)

comment 4y ago · link · parent

The extension API proposals and RPC protocol are open sourced and the server code is just an electron-less version of the regular VSCode extension host (hence, remote extension host, REH). This is all part of the VSCode OSS release. What the proprietary extensions provide is integration. For example, the SSH variant automatically installs and launches an REH instance on the remote host and sets up port forwarding. If you are willing to start the instance and to forward ports yourself, you can use the tiny extension I wrote [1,2] (See the README how to enable the necessary extension proposals.). It allows you to connect to a local port you configure in the config. It is based on an example extension (vscode-test-resolver) in the OSS release that is used to test this functionality [3].

Microsoft is not really hiding any of this, so I am a little surprised, that nobody wrote a similar extension so far...

[1] https://open-vsx.org/extension/xaberus/remote-oss [2] https://github.com/xaberus/vscode-remote-oss [3] https://github.com/microsoft/vscode/tree/main/extensions/vsc...