TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Microsoft Refuses to Open Source VSCode Python Language Server

194 pointsby cjvover 4 years ago

24 comments

Xavdidtheshadowover 4 years ago
This title is inaccurate.<p>The language server _is_ open source, and is available here: <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;python-language-server" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;python-language-server</a>. This is the default one VSCode ships with.<p>This issue is filed on Pylance, a new (released June 2020) language server that&#x27;s currently still in beta (announcement: <a href="https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;python&#x2F;announcing-pylance-fast-feature-rich-language-support-for-python-in-visual-studio-code&#x2F;" rel="nofollow">https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;python&#x2F;announcing-pylance-fas...</a>).<p>Also, like the contributor notes, a lot of the &quot;secret sauce&quot; in Pylance is part of the open source Pyright typechecker: <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;pyright" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;pyright</a>.
评论 #25719663 未加载
评论 #25719690 未加载
评论 #25719655 未加载
Barrin92over 4 years ago
Almost the entire thread seems like a case of &quot;give them a finger and they&#x27;ll take the whole hand&quot;<p>Microsoft is a profit driven business, it never committed to open-sourcing every piece of software it writes, of course they&#x27;re trying to somehow make money with VSCode, because it costs money to develop it.<p>If you don&#x27;t like it choose another one of the billion text editors and IDEs that exist or write a competitive language server, but nobody &#x27;lured you in&#x27; or is extinguishing anyone.
评论 #25719765 未加载
评论 #25719716 未加载
评论 #25719673 未加载
评论 #25720013 未加载
评论 #25719936 未加载
评论 #25719584 未加载
ipsum2over 4 years ago
In addition, Microsoft refuses to open source their remote VS Code implementation: <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-remote-release" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-remote-release</a><p>See issue: <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-remote-release&#x2F;issues&#x2F;179" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-remote-release&#x2F;issues&#x2F;17...</a>
评论 #25719593 未加载
评论 #25719678 未加载
saagarjhaover 4 years ago
I hate to bring out the old “embrace, extend, extinguish” argument, but I honestly can’t think of any other reason for this. Visual Studio Code has gotten really popular lately, but I think very few people realize that many parts of it are closed source. And you can’t take extensions from the Microsoft store and use them in your own editor…this just seems <i>designed</i> to get people to use your editor, give them enough source so you can claim it’s hackable, but prevent any other editor from reusing it. That doesn’t sound very open at all.<p>Actually, in this specific case, it <i>really</i> hurts, because Microsoft had been the one pushing for LSP to enable reusability and interoperability. You can’t take M*N to M+N if every editor refuses to let their implementation be used by anyone else. Honestly, Microsoft, what are you getting from taking a bunch of open source code and making the good bits proprietary, and then sabotaging your own messaging around standards that you want adopted? Because I can’t see any reason why you have to do this :&#x2F;
评论 #25719407 未加载
评论 #25719338 未加载
评论 #25719352 未加载
评论 #25719367 未加载
评论 #25719921 未加载
评论 #25719251 未加载
评论 #25719896 未加载
评论 #25719637 未加载
评论 #25719311 未加载
评论 #25719617 未加载
评论 #25719591 未加载
评论 #25719528 未加载
评论 #25719354 未加载
danielovichdkover 4 years ago
I have pretty much respect for Microsoft for open sourcing a lot of things and changing their culture for the better.<p>Don&#x27;t have anything against them having closed sourced applications, frameworks or languages.<p>You cannot ask for everything all the time.
评论 #25719559 未加载
Lunrtickover 4 years ago
I don&#x27;t mind this too much, to be honest, though I would prefer it if they open sourced it with licence based restrictions.<p>They&#x27;re not open sourcing Pylance, which has some really nice features. The ones I mainly use are the semantic highlighting (it colours variables etc based on their type), and the auto imports (wow, I didn&#x27;t realise how much I missed that).<p>However, those are just sugary extras, the real benefit is the typescript based type analysis. This can be had using the open sourced pyright extension.
heavyset_goover 4 years ago
If you&#x27;re looking for an open source Python language server, check out `python-language-server`[1].<p>It&#x27;s released under the MIT license, and works pretty well. While it&#x27;s maintained by Palantir, it works well for me, so take from that what you will.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;palantir&#x2F;python-language-server" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;palantir&#x2F;python-language-server</a>
agrueover 4 years ago
Microsoft is pro open source when it suits them.<p>If there were in it for the long haul we would see things like Office for linux. Instead we see WSL.<p>One or two CEO changes and they&#x27;ll be back to litigation for patent infringement.
评论 #25719547 未加载
评论 #25719470 未加载
Grimm1over 4 years ago
They&#x27;ve put a lot of work including some interesting ML work to my knowledge into the python language server. I wonder if it&#x27;s that latter part that makes them cagey about open sourcing it.
beagle3over 4 years ago
VSCode was likely open sourced at all (in a limited way) because they were legally required to, having decided to use LGPLd WebKit&#x2F;Blink; and their use of V8&#x2F;Electron probably promoted this as well, even though that wasn’t mandated by the Apache&#x2F;MIT license.<p>However, it is quite clear now that it is not because they want to “support the open source &#x2F; free software world”. (And to some of us, this has been clear since day 1)<p>“New Microsoft”... if you believe that, I have a bridge to sell.
Thristleover 4 years ago
How can you blame them for not making the only edge (that, and the type checker) they have over pycharm in terms of language support?<p>M$ wants VSC users and python users will go where the best language support is, pycharm has a lot of cool&#x2F;good features but they don&#x27;t have <i>all</i> of them.
评论 #25719702 未加载
teddyhover 4 years ago
&gt; <i>@microsoft microsoft locked as resolved and limited conversation to collaborators on Jul 17, 2020</i>
评论 #25719645 未加载
kamover 4 years ago
Pylance is built on their open source Pyright library, which is also available as a VSCode extension. I&#x27;m just using Pyright instead and don&#x27;t seem to be missing out on anything important.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;pyright" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;pyright</a>
评论 #25719686 未加载
thecrumbover 4 years ago
Microsoft looks at recent language survey lists, sees Python on top and wants to make money. They are only &#x27;open&#x27; if it benefits them, not us.
评论 #25719403 未加载
评论 #25719605 未加载
dgellowover 4 years ago
Not sure what’s the issue here. If they don’t feel like open sourcing this specific piece of software, that’s their right. They are already one of the largest contributor of open source software in the world.
qpioxover 4 years ago
I think it&#x27;s normal to want to make money of software. I do and many others do.<p>The problem point here is when some company is using misleading campaigns about openness and long-term bait and lock-in scenarios. You take-out openness and liberty piece by piece, giving the public simple and cheap but closed solutions as bait.<p>Anyone who has invested significant resources to migrate to the new tool will not switch to another new tool so easily. So one by one they swallow the bait, piece by piece, and in the end are locked-in.
tonymetover 4 years ago
Refuses? How about “hasn’t yet” , or “has decided against?”
maximilianroosover 4 years ago
Why are people so much more upset about this relative to MS not open-sourcing their other products?<p>Is it that it&#x27;s free? If Microsoft _sold_ a more advanced Python LSP, would that receive as many complaints?
评论 #25719668 未加载
muglugover 4 years ago
Having written a language server for PHP, I can tell you it&#x27;s damn hard – I don&#x27;t begrudge Microsoft&#x27;s behaviour here at all.
jcelerierover 4 years ago
I still don&#x27;t understand how they can get away with this given that VSCode is based on Blink which is LGPL
评论 #25719963 未加载
teekertover 4 years ago
Not sure if related but I installed vscodium because everyone said it&#x27;s vscode with the tracking disabled. Except there is no remote-ssh plugin. I live in that plugin. It worries me a bit although I know I&#x27;ll find something new when I starts to bite me.
评论 #25719846 未加载
voxlover 4 years ago
God forbid developers and companies try to make money off their work!
评论 #25719304 未加载
评论 #25719408 未加载
评论 #25719360 未加载
评论 #25719291 未加载
jpalomakiover 4 years ago
I would imagine the threat for Microsoft is Amazon picking up what they have done and using it to compete against Azure.
评论 #25719467 未加载
dschuetzover 4 years ago
TLDR: I am not surprised.<p>A couple of years ago everybody was over VSC like flies, loving it, because it&#x27;s <i>open source</i> and <i>runs everywhere</i>. I was in the minority of skeptics who predicted that kind of move.<p>And now, once again, Microsoft proved that they only care for OSS, and created VSC, because it enabled them to spy on coders and their code to develop proprietary and closed sourced spins for software development product. The OSS community got served. Well done.