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 is introducing hidden APIs to VS Code only enabled for Copilot?

378 pointsby kannthu7 months ago

33 comments

frenchie41117 months ago
Everyone is reading this as intentional anti-competitive practices. While that may be true, isn't another reasonable explanation that the Copilot development team is moving as fast as they can and these sorts of workarounds are being forced through in the name of team velocity? It takes a lot more time/energy to push public APIs and it's probably a very different team than the team developing the copilot extension. Seems a bit like a "don't attribute to malice..." kind of moment to me
评论 #41908001 未加载
评论 #41907644 未加载
评论 #41907685 未加载
评论 #41907972 未加载
评论 #41909186 未加载
评论 #41907783 未加载
评论 #41909073 未加载
评论 #41907842 未加载
评论 #41909021 未加载
评论 #41907968 未加载
评论 #41909382 未加载
评论 #41908455 未加载
评论 #41907789 未加载
评论 #41910009 未加载
评论 #41907762 未加载
评论 #41907665 未加载
评论 #41911647 未加载
评论 #41909474 未加载
评论 #41907987 未加载
评论 #41907800 未加载
评论 #41908178 未加载
评论 #41922851 未加载
评论 #41907696 未加载
评论 #41911236 未加载
评论 #41909238 未加载
评论 #41909020 未加载
评论 #41907795 未加载
评论 #41907941 未加载
评论 #41908026 未加载
rty327 months ago
Very interestingly, just yesterday I discovered that VSCode has a set of APIs for adding SSH tunneling, and under normal circumstances you must launch vscode with special flags to be able to use them. Somehow their built-in JavaScript debugging extension can use these APIs without any issues.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode&#x2F;blob&#x2F;main&#x2F;src&#x2F;vscode-dts&#x2F;vscode.proposed.tunnels.d.ts">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode&#x2F;blob&#x2F;main&#x2F;src&#x2F;vscode-dts...</a><p>And you can hardly find any public information about these APIs. Well, unless someone asks -- As of 2 years ago, they didn&#x27;t have any plans to &quot;finalize&quot; these APIs, i.e. make them public. You are advised to find other workarounds (which do work).<p><a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-discussions&#x2F;discussions&#x2F;174">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-discussions&#x2F;discussions&#x2F;...</a><p>This is much less &quot;harmful&quot; than Copilot though, I guess.
评论 #41907911 未加载
p1necone7 months ago
It&#x27;s felt for a long time to me that MS has been slowly boiling the frog with VSCode - injecting little bits of proprietary&#x2F;non open source functionality at a time. I want to switch to something else but the community at large for the languages I develop in is pretty centered on VS code (Rust and Typescript mostly), and it&#x27;s a <i>really</i> good editor. Obviously not helped by Typescript being stewarded by MS too.
评论 #41909407 未加载
评论 #41910061 未加载
评论 #41909028 未加载
评论 #41921546 未加载
Jcampuzano27 months ago
I really don&#x27;t get why people are mad about this. I get it, people don&#x27;t like MS but theres really no surprises here, nor is it really all that bad. They put time, effort and money into developing VSCode. Its open source so if you want to use these API&#x27;s you can in a forked version. And of course if you&#x27;re developing something thats free for everyone to use, and its not forcing you to use it, I don&#x27;t see an issue with using private API&#x27;s.<p>And while some make the alegory to IE its not the same since its not pre-installed on every machine, nor are they forcing you to use it. So while yes they have a lot of market share, they have nothing stopping you from forking it yourself or just using a different editor.
评论 #41908263 未加载
评论 #41908095 未加载
lacker7 months ago
After doing some VS Code extension development, I don&#x27;t really understand what this could enable that isn&#x27;t already possible. You can run arbitrary code on the client side from a VS Code extension, you can run a full web application inside the VS Code UI, you can read and change developers&#x27; files in any way you want.<p>What is Cursor doing that they couldn&#x27;t do as an extension?
评论 #41908620 未加载
Eikon7 months ago
Seems pretty common that a platforms owner would actually try new apis with their own stuff.<p>What better way to get primary real world usage before stabilizing?
评论 #41908612 未加载
评论 #41908962 未加载
quyleanh7 months ago
I don’t see any problem here. They spend money, effort, time to develop their products. Why do they need to give that products for free to everyone, or even their competitors?<p>Others can choose to use or not use vscode. If they concern about the telemetry, build themselves or use other code editor then.
评论 #41908999 未加载
评论 #41909606 未加载
epolanski7 months ago
I don&#x27;t necessarily see anything particularly malicious to be honest.<p>Before you introduce public APIs you need a use case and someone to spearhead them and copilot is doing that.<p>As for Microsoft not allowing installs of stuff like live share on other forks I guess it is because they are seen as different products and not part of the vsc codebase itself.<p>I would understand if extension authors would complain about not being able to access the same apis (might be the case) but at the end of the day they can still fork and do whatever they prefer.<p>Lots of companies out there thrive on forking vsc, from gitpod, stackblitz, cursor and many others. But they can&#x27;t possibly expect to have all proprietary plugins too.<p>What other code editor has ever been so impactful and open in the last decades?
pzmarzly7 months ago
Huh, I assumed that MS Live Share and GH Copilot extensions were already using some secret APIs in the past, since I never saw any open source extension being able to do what they do. I guess I was wrong before, and this only starts being the case now?
评论 #41907646 未加载
wiz21c7 months ago
Microsoft gives a product for free. It is free to add whatever features it wants in it. No?<p>(and that&#x27;s why I use emacs...)
评论 #41908812 未加载
评论 #41908341 未加载
评论 #41908081 未加载
rvz7 months ago
Extend to Extinguish - Round 3. [0][1]<p>VS Code + GitHub + OpenAI exclusivity deals + Copilot = The best tools available for close to free.<p>To use the latest features they will only be found on MS branded tools like the ones above.<p>With the competition getting eliminated with total MS coverage of the developer ecosystem with almost everyone sitting on GitHub using VSCode and OpenAI.<p>Monopoly with close to no competition all without any regulatory scrutiny has been achieved internally. With the extending being the extinguish.<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38280513">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38280513</a><p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34612959">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34612959</a>
afandian7 months ago
This seems like a good time to mention Zed. Recent discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40928893">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40928893</a>
评论 #41910164 未加载
_imnothere7 months ago
I suppose this is somewhat related to previous discussion[1], Microsoft has shown it&#x27;s true color for multiple times, why even bother trusting them?<p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41691577">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41691577</a>
htk7 months ago
To everyone talking about EEE, what can they extinguish here, code editors?<p>If they get too annoying, like really forcing copilot or something like that, there are several other editors to choose from. Until this day comes I&#x27;m having a positive experience with VSC.
gigel827 months ago
&quot;Hidden APIs&quot; is clickbait; VS Code is open source. Unless they&#x27;re saying the published VS Code binaries are somehow altered to offer the APIs that are not otherwise available in the open source repository (which is not the case).
评论 #41908124 未加载
nextworddev7 months ago
Given how Cursor etc built a direct competitor business on top of VSCode, understandable
评论 #41909867 未加载
sporedro7 months ago
Microsoft seems to have most fooled with vscode.. The only other IDE’s worth touching imo are Jetbrains and they have most likely been hit by the fact vscode costs $0 and is “good enough”.<p>Microsoft has already made it difficulty to compete with their “free” by giving away enough and locking down parts that would allow competition to easily fork it (Python LSP, Extensions marketplace).<p>Vim and Emacs seem to be thriving but I wouldn’t call them drop in replacements.
veblen7 months ago
Has VS Code dominated the code editor market? If not, is this a prerequisite for discussing anti-competitive issues?
评论 #41909888 未加载
beretguy7 months ago
I assume it&#x27;s not a problem if you use vscode on Linux? (I personally run vscodium on Linux).
vouaobrasil7 months ago
I am thinking of uninstalling VSCode and using something else because they are too invested in AI.
评论 #41909405 未加载
favflam7 months ago
Ladies and gentlemen, I present to you the miracle called Lazyvim (terminal based IDE). Once you go lazy, you don’t come back. I can’t stand vs code now. The mouse even works in Lazyvim.
grigio7 months ago
EEE Embrace Extend Extinguish 2024 version
insane_dreamer7 months ago
Not sure why this is a problem.<p>VS Code doesn&#x27;t have a lock on market share for IDEs the way say Google does on search.<p>There are plenty of other options either with or without CoPilot.
datavirtue7 months ago
The horror!
rcarmo7 months ago
I honestly don&#x27;t see the issue here (Full disclosure: I work for Microsoft, but in professional services, not in product - and nevertheless fully expect to be downvoted to oblivion).<p>If these aren&#x27;t finished, that most likely means that they still haven&#x27;t stabilized enough to go through the full support and release pipeline--that usually means documenting them, publishing a couple of reference development samples, doing a public announcement, i.e., the full nine yards of fostering adoption of the product feature.<p>Which you typically will only do once the &quot;preview&quot; is stable and flexible enough to pass muster.<p>I mean, it&#x27;s not as if there isn&#x27;t a huge API surface for the editor (the sample extensions repo is huge - <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-extension-samples">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;vscode-extension-samples</a>), and there are already samples out there to extend the Copilot functionality: <a href="https:&#x2F;&#x2F;github.com&#x2F;joyceerhl&#x2F;vscode-mssql-chat">https:&#x2F;&#x2F;github.com&#x2F;joyceerhl&#x2F;vscode-mssql-chat</a> (I wrote my own based off this one for a personal project)<p>So maybe consider that those things just take time to build out fully before assuming the worst?
评论 #41908326 未加载
评论 #41907898 未加载
ekvintroj7 months ago
There are comments questioning whether this is a malicious practice or not, I remind you that we are talking about Microsoft, they have always taken the ‘Embrace, extend, and extinguish’ approach.
dmart7 months ago
How dare they add undocumented APIs to a product they pay to develop and give away for free.
neilv7 months ago
WordPerfect and Lotus 1-2-3 have entered the chat.
dagaci7 months ago
What dirty, dastardly and deviously, deceptive deceiving and clearly damnable practice of Microsoft yet again.
oigursh7 months ago
Embrace, extend, extinguish.
评论 #41908979 未加载
评论 #41908990 未加载
评论 #41907562 未加载
de6u99er7 months ago
Lloks like Microsoft is going back to it&#x27;s old ways. I am not surprised tbh.
评论 #41907551 未加载
评论 #41907727 未加载
评论 #41907544 未加载
评论 #41907522 未加载
sub77 months ago
I had to block all network traffic from VSCode that shit is spyware out of the box.<p>Maybe the vi crew is actually onto something.
评论 #41907699 未加载
评论 #41908012 未加载
评论 #41907776 未加载
bitwize7 months ago
There are just certain technologies my brain says &quot;fuck, no&quot; to. GNOME. The Great Banality Laser (whose official name was once Twitter). Visual Studio Code.<p>The fullness of time usually proves my brain&#x27;s initial impressions right, as it seems to be doing now with Visual Studio Code.<p>I can still remember the monthly paroxysm of bliss that radiated throughout Hackernews, regular as clockwork, timed with Microsoft&#x27;s monthly VS Code drops. Glad to see it enter its trough of disillusionment, at least on Hackernews.
评论 #41907680 未加载
评论 #41907892 未加载
评论 #41924125 未加载