The Story of VS Code
Comments
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Hi. >> The reason we built Visual Studio Code from very beginning was a was really connected with a very explicit strategy shift that [music] we have done in developer division. uh in early days of um of um Microsoft or throughout most of Steve Bmer's you know CEO leadership development division was really there to service [music] the needs of our platform which at that time really was really Windows [music] and what that meant is that we took a relatively narrow viewpoint which is that you know if it's not on Windows we didn't care about it if it's not C# or C++ which is really builds Windows application [music] we don't really care about it and the particular pivot we really did uh in you know early days of VS as code is that we realize we have to go embrace every developers on the planet. [music] I think that's our core mission. We want to meet developer where they are.
>> Good morning. Good afternoon. >> Good morning. >> Good morning. >> Good morning. >> Good morning. >> Welcome to our planning call. You know, it's uh almost [music] the last one of the year. Um actually, it might be the last one of the year. So I I have not removed the one from [music] from next week yet just in case there is some leftover things that we need to talk through. But other [music] than that uh that might it be. So um [music]
we've got to talk first about the recovery release.
[music]
>> [music]
>> So, Shanku, let's go to the very beginning of all of this. All right. Great products are a combination of great people and great timing. [music] Microsoft has always been a developer tools company. The very first line of code at Microsoft was written by Bill Gates. That [music] was a developer tool. But by 2010, something was happening in the developer world and that was because of the web. The browser had come along and in about 10 years it had gone from being something for simple web pages to something [music] you could build really full scale applications in. All of a sudden you started to see like you know Google Docs, Office 365 [music] like things were that were not websites anymore, right? They were like full applications [music] that were being built. If you were a new developer that's what you were looking to you weren't looking to, you know, Windows or the desktop. [music] And we knew that if we wanted to stay relevant with developers, we had to do something. So we started to put some of our best people on this problem. [music] We brought Steve Lucco in to work on a new JavaScript engine that would change the way Internet Explorer could run web apps. We brought Andre in to help design
a new language, TypeScript, [music] to help developers write, you know, web applications at at at great scale. But the one thing that was missing was a developer [music] tool. And just around that time, amazingly, Eric came into our world.
Say yes. Let's say this is a yes. Huh?
It's just uh near my home. You see the the lake of Zurich. Some touristy mountains right there. Rigi is famous and the sun goes like that. And that's why this area is called the Gold Coast because you have the nice sunset and also have good wine from here. Actually, it's not too bad. Yeah. And the wine we can drink another time.
I work on develop tools I think over 30 years and it's just my I don't know I just like the feedback loop from developer tools right you do something you use it yourself use it and also of course and other developers which are very challenging clients right they're zero loyal uh they jump around to the best whatever they like so it's really challenging but also very rewarding to work with other developers because when they like something they they Did you do right there was the annual eclipse conference in San Jose in Silicon Valley and
I thought that's very near to Redmond. So uh we set it up that I spent [music] from there one day uh in Reman on the Microsoft Compass and I got introduced to the the development leads of developer division and I also got one hour with Bill Gates right and we talked and it was a great day. So I think there was lots mutual commonality right the passion for developer tools which I immediately desensed which [music] I started to miss a little bit at at IBM right so we
immediately connected but what was also very clear right I'm not looking for a new job I'm looking for new challenge then um Jason [music] Sander he was kind of the head of um Dition came to Zurich and he came with
the challenge would [music] you be interested in working on online developer tools that run in the browser? >> Eric was a legend in his own right. Uh he was part of what's called a gang of four who'd written this book called design patterns that [music] like every engineer would follow. He had built like I think six or seven uh ideas before this. And Eric from day one Eric was like I don't want [music] to just take what I know and try to make it fit into the web. I want to build something that's born of the web. And like, you know, right away I think Jason and I like as we talked, we were like, hey, this is uh this is the right person.
Yeah. It took me a while to think about it, but it really infected me to to like
it because I could go back from this outer loop back to the inner loop, right? edit, develop, test, debug,
whatever, because that's where you are the closest to the developer, right? So, I got very excited about this prospect. I got very excited about online tools in the browser, the browsers became better, the JavaScript engines became better, V8, Chalkcrafts by the Monkey. It looked like the time was ready that you could try to work on that, that [music] you can have developer tools that only in the browser. So that's why I decided to accept the challenge
IBM of course they help you uh to get out they also arrange what's called a
garden leaf which was a great time was 3 months I had this garden leaf and of course um what did I do then I thought it's It's a great opportunity to to brush up and learn stuff. So I developed some online tool in the browser, a little playground to run unit tests. I just love testing frameworks and build that run it and it was great. It was a great confirmation that the time is right to try that the new browsers there for web workers. You can do things in the background have HTML 5 with all the powerful uh support. And also what was
also interesting what I learned is there is node right and node allowed you to not only use JavaScript in the browser but also in the back end in the server and also you write tools command line bank tools with node so I was really seeing how this aligned time-wise and this made it then yeah I'm really happy about the decision Microsoft really was careful they didn't want to get into a [music] into debate with IBM whether um I would take the team with me or not. So what Microsoft told me once I left I'm not allowed to talk to my team anymore. The thing about Eric is Eric isn't just Eric. It's Eric
plus Eric's [music] team. And very early on when we were talking about kind of getting the team started, Eric was very interested in figuring out how he could kind [music] of get the gang back together. The nice thing was we didn't have to do a lot of selling, right? like Eric's whole [music] team was in love with Eric and they wanted to work with him. So all we had to do was create a Zurich dev center, advertise those roles and [music] they came.
[music]
>> Oh man, we have to get bread and cheese into this. Eric hired me for OTI at that point in
time, Object Technology International, and that was 98, 2000ish. I do not
remember the exact [music] dates. The longest person here that I know is Martin. Martin was uh a student at Take
Five with me. [music] So, we we most of the people here have a very long relationship [music] together. At the time that Eric left, I was actually also ready to a new adventure. And when that opportunity came, that [music] Eric started at Microsoft, it actually felt natural for me to stay with the team, stay with him and and [music] move along. A blog post came out. It was announced by Microsoft. Eric is opening a new [music] lab in Zurich. It has a button. Click here to apply. So, I just applied as well.
in 2010 whether you could build an IDE using pure web technologies like it was by no means like uh a a certainty. [music]
Browser apps were still pretty early and like most people you talk to they'd [music] be like there's no way you're going to build something that can handle the kind of performance and responsiveness [music] that you need in a developer tool in the browser. Most people thought of like browserbased [music] editors as basically like toys, right? So we had to give Eric and his team like a long runway. The real thing was like just [music] treat it as a startup, treat it as a pure green field, start experimenting, deliver something along the way each year and let's see let's see how far it can go, right? Let's see if we can build a a tool that's truly born of the web but but is good [music] enough for everyday needs.
After two weeks, they said, "Yeah, come over to this build conference where they introduce Windows 8 Win 8." And yeah, I
got to know all that. I also got to see, well, this is quite different. [music]
>> [music]
>> Well, good morning everybody. >> Not bad, but it's just yeah, it's different when I see the conference and I got a little bit scared, right? Wow, how can I have success in here? So, when you have this startup spirit, right? You
cannot just theorize. [music] You don't become relevant with nice architecture diagrams. you become relevant with when you have something in the hand you can ship and you can demo. Microsoft is a big company. It's easy to be forgotten. So still uh on the way back from the conference cinema went to the Redmond campus metager Shanku and also met Steve
Luke and Steve was yeah was the beginning I would say of a longer partnership. But Steve
showed me there first no the gracing is Typescript which helps me to understand [music] yes with that you can scale to large programs and he also showed me that you can nicely work that [music] with an editor running in a browser. So I went home with that and this was just [music] a great inspiration for what eventually became Monaco.
We we actually played with TypeScript and VS Code prototypes that day. So, we looked at the code together and I showed him how difficult it was to find some of the bugs as the codebase grew. And he said that that was his real worry about making a web-based editor was that when the thing got to be 100,000 line, 200,000 lines, that how were you going to refactor? How were you going to have control over the interfaces? And so that's when we hatched this plan where I would keep driving on the TypeScript compiler prototype and he would take over the VS Code prototype and drive it forward. And from that point, my role
for the next couple years was just to support them by building TypeScript. So they were our earliest and best customers and really their code designers of Typescript because they gave us such good feedback on how to make it serve their needs as they got to 100,000 lines, 150,000 lines. It was a great partnership during the the first the Monaco years, the first two years. >> It was really unclear what the web was going to be capable of, but it was clear that it was an emerging platform that was going to be able to carry a lot of weight. And that's one of the reasons why we started working on Typescript was so that we could support largecale web-based applications. And if you think about a code editor, this is some of the
most high taste users, developers who know good software from bad. Anytime they use anything, their expectations are that they have a code editor that can allow them to work at the speed of thought. Literally, they want to be able to go [music] from their brain down their arms to their fingers without having to think. And they certainly do not want their code editor to get in their way of getting their ideas manifest into the universe. And so whether or not the web would be able to support that level of interactivity [music] was in question. And so I think in the case of VS Code, Eric had a lot
of respect for what the TypeScript team was doing. And so he took a dependency on it. Uh but it was a mutual respect
and a mutual dependency [music] because the TypeScript team ended up using the VS Code components. It was just mutual respect and uh an agreement to use each
other's bits. [laughter]
That was interesting because it was you could see it was a weekend project. You could see it it would just crash, right? It wouldn't give errors. It would crash. It would just stop working. I still have email threads where it's me saying, "Hey, Steve, the compiler crashed with this example." So, reporting bugs was creating a sample, attaching that to the email, and letting Steve know, you know, that version 0.1.1 crashes when I feed it this file. We knew each other. People were already here. I came in 4 weeks later and they well you [music] meet you know drink a beer but they were all like you know tight lips and then on the first day was like oh we can finally tell you we have this new programming language right and then Alex doesn't like it but draw really likes it right and u I [music] think it didn't take much to convince me I was like yeah this tooling just the fact that there's a compiler or like a transpiler that checks for errors that already got me right it validates your code so you get squiggles if you if you make a mistake it allows you to browse code quicker, but like you can go to a definition or you can, you know, find references of something and it allows you to type faster because it can complete what you're doing, right? And I think this is like the the holy trinity of programming and yeah, it very quickly had that and it was just made us faster from the beginning.
This team was off in Zurich just coding away, right? Like and the first project that the team built was this thing called Monaco, which is uh a code editor that uh basically an editing component that just goes in the browser. And you know, today it's like the de facto code editing component in every browser app
used by every company cuz it's been open source, but back then it was like a brand new component. And so they needed like uh they needed an ambassador like
an ambassador to Redmond, right? And so we had this product manager at uh in
Visual Studio. His name was Chris Dus. And Chris had been in tools at at
Microsoft for a long time. He knew everyone. He was just like an amazing people person. And we were like, "Hey, you're going to be you're going to be that guy." His job was to like build the internal SDK around it so everyone could kind of go explore it. He built a little Monaco sandbox and then he had to like shop it around to different teams to say, "Hey, like you need a code editor in your thing. Uh, how about this one?" In a couple of years, it was starting to show up in a bunch of projects inside Microsoft.
[music]
>> H fun times. It was kind of funny because I I thought to myself, all right, so we hired this guy. He was really popular a long time
ago. He wrote an awesome book. I think I never read it and I thought to myself, all right, so if this guy is just like resting on his laurels and it's all about the past and I'm like, you know, this is not going to be the project for me. So I called up Eric and we had a we had a good conversation and literally it was like 5 minutes into it and he said, "Hey, you know, all that stuff in the past is great, but I'm really interested in looking forward and what we can do going forward." And I really felt like like all right, it's not a swan song for Eric. it was really the beginning of another project that I could get involved in. Let's go and do this. So, our whole effort at that point was to try to build this editor to see if it it could work in the browser and then go from there. And what was cool about it was that it worked. And so, we went around, we talked to a bunch of different teams and it turns out they were at this point wanting the same thing. And so, even today, if you go into like one drive and you're looking at a JavaScript file or C# file or whatever code file, that's actually the Monaco editor. And so there's lots of different products in Microsoft that are are using that today. And it's the same editor that exists in VS Code today. And actually this is in third parties as well, right? Because it's an open source component. There are lots of products that host the Monaco editor. And the trick is if you see a code editor online in the browser and you highlight some code, if it has nice rounded corners, that's the first clue that it's the Monaco editor. At one point we did get a letter from the country of Monaco asking for some clarification between the code editor and tourism for Monaco, but uh we didn't think that was that confusing.
>> One of the early questions we we asked ourselves [music] is hey should we use jQuery or not? That was kind of the de facto framework at the time. Ultimately, we >> [music] >> um chose to write this ourselves just because it could then be under our control to evolve it and so forth. We kind of knew from early on that we have to write really specialized code. So if you think about the editor itself, it is full of custom rendering code. We [music] create divs for lines. We create spans for tokens. And [music] being able to manually decide each and every DOM interaction is actually one of the key things that helps us make rendering very performant.
>> Yeah. So there were a lot of um interesting challenges. We always knew that compute intense operations like computing squiggles we cannot do in the renderer process. So like [music] on the renderer thread. So the renderer threats gets all the drawing done. Make sure the cursor blinks and make sure that colorful boxes and letters appear on the screen. And if you saturate that thread with work [snorts] that you don't see, like the UI freezes. This is usually when you resize a window and it doesn't follow up. You you just see [music] like blank space around it. That usually means this thread is doing something that it shouldn't do, right? Because it's there to [music] just draw.
Basically, in the early days, we we did some very good decisions like we we you know, never ran long [music] running scripts on the UI thread. But then we were also very careful to be sure that >> [music] >> um everything you do in the editor um has a runtime cost which is you know directly proportional with what you're doing. [music] So for example even if you're in a huge file which has like you know millions of lines of code. If you type one keystroke [music] one character then you should only pay the cost of you know reacting to that one keystroke. [music] When you're scrolling and you only see 50 lines, we really really try hard to only render those 50 lines [music] that you have really to see.
>> Yeah.
>> And there's people swimming here. If you come early in the morning, 8 a.m., there's always someone naked. >> When I joined, I was already seeing the Monaco editor actually running in the browser. You could type. You got some kind of IntelliSense. So it was already like working in the sense that you could actually write code in the browser but what was missing is the aspect of how do I use this actually to work on Monaco itself right what we call self-hosting or doc fooding how can we get into a state where what we are building is also what we are using so that we have immediate feedback on on how well it goes and so my job that Eric gave me right from day one was give the Monaco editor a space where we can create files, edit files, save them, use it to write the source code that the Monaco editor actually is. And it was great timing that I think back then Node.js
um came out with support for Windows in a very early version because we wanted to build this crossplatform from day one. And I think 1 month in, we already had like a version where you could open your browser, local host something, run node, and then basically get the Monaco editor with a workbench file explorer and you could type save and really use it for for building for building Monaco. So I start to build that out so that more people from the team can actually [music] enrich the experience around the editor.
Whatever you improved, as I said, this is the fascination of of developer tools. You use yourself and then you become more productive. And it's it's this continuous loop of getting better, getting better. And this was such a fun time.
So we had the Monaco workbench and of course you were eager to also give that to people to use because we loved what we did. We did dog food. We lived in it day in day out, right? And it's people like the demos. But what is a possible product for it and fortunately we found a way that we can provide support that you can edit an Azure website with the Monaco workbench and this eventually we
decided to uh make available under the name as Visual Studio online Monaco. >> Hey, it's Azure Friday. I'm talking with Eric Gamma, a distinguished engineer. How are you sir? pretty good. >> You built something cool. >> Goal is really you want to build something very lightweight. It's Visual Studio light. It's it's very light, fully responsive and gives you still the comfort of coding, right?
>> Of course, I hope was that we get some usage out of that. That scenario was pretty narrow, right? like you have to
be on Azure, you have to have an Azure website, you have to do blah blah blah and then eventually you get into this tool and you have this great experience. It's all in the browser. But [music] again, that's a narrow scenario. >> Very difficult to be relevant with that. Why the Monarch editor allowed us to be relevant? We were not relevant with this web IDE we had at that time. At least if you're not a web IDE, can we just be [music] a good editor for multiple files? We looked the different things
and then again the timing was right. Some frameworks came around which allow you to develop desktop applications with JavaScript, HTML, uh CSS and node. And the first way it came out was Node WebKit.
Bundling the Monaco workbench with Node WebKit as an application allowed us to show we can also have a desktop application using our technology. The story I like to to tell is you like go into Starbucks, right? There's a whole bunch of cool kids with headphones on and they got their giant latte whatever and they're hacking away on their Mac. Uh they're using Sublime, they're using open source, they're using Git, all these different things. And I had no way to as you know Microsoft to Visual Studio I had no way to talk to them. I go in and like hey can I talk to you for a minute? Like I see you're doing development be cool. I got this great development tool. You'd be so much more productive. [music] And in order to do that a couple things you got to do. One is close that Mac. Go buy a Windows machine. Go buy a Visual Studio.
Download 5 gigs of stuff. Rewrite everything in net and C#. Blah blah blah blah blah. Right. and and I'd be like the kids going to be like yeah okay boomer just put the headphone back on and like just shoe me away. So we were sort of irrelevant and this was sort of the genesis of the idea of building uh VS Code as a locally installable crossplatform open- source tool so that way we could actually have a conversation with people. So that was
the beginning then of uh what became [music] Tino.
So I [music] took this prototype in Revan. I was able to demonstrate it
and I remember well the meeting because I demonstrated on Linux. So all of a sudden Microsoft can build a development tool that runs on Linux. And we had a lot of cheering going on. Oh great, we can do it. [music] That was in October. And the cheering got that far that we
decided at the next build conference in April. About 6 months later, we want to announce we have a cross-platform editor that runs on Linux, Mac OS, and Windows and is a new lightweight development tool. >> Our first prototype, I think, was even with Node WebKit. And back then, it was not entirely clear that Electron would be the right pick. But in terms of like what it meant for us, it was not such a big shift away from what we had already built. I mean we were building for the web and node webkit and electron were actually our web rendering engines that you can install. So in a way it was basically take whatever we have and throw it into electron and deploy it to users. Electron was really like the enabler for a lot more scenarios that you couldn't do [music] if you were just using web back then. Yeah. We said we want to if you have a spectrum here from lightweight editor to full IDE, we want to be close to a lightweight editor but pull the things we really like from the IDE. And what we really like and we need for this inner loop I mentioned before is bridge language support and debugging
the browser. We're a little bit early and for us it was just a natural pivot to say then go and go for a more native story which runs on the desktop but use the same technology. We started this idea crossplatform desktop app in October in April wanted to have it done and then of course seeing the demo on Linux debugging net core app with visual studio code was
just for us happiness.
>> [applause]
>> I feel like perhaps uh I haven't sufficiently blown your mind. So why don't we take a moment and switch over to Ubuntu. [applause]
So now I'm on Ubuntu in a net app doing a debug session. I've got local variables. I've got a call stack. I've got break points all in this great lightweight code editor, Visual Studio Code
[music] around there. Oops, I'm not very good. Hang on. Let me get past two or three. Ah, couldn't not so good at that. Game over. All right, >> dude. Documentaries are the best. I made my 17-year-old watch Helvetica. We watched a two-hour documentary about a font. There needs to be a documentary about my code editor. People need to remember that Microsoft of 2010, Microsoft of 2015 was different than Microsoft of 2025. And there was an expectation that it was Microsoft's way or the highway. It was Windows and our stuff and our code and our our apps. And the idea that someone would bring a editor, a fully featured code editor crossplatform, a Mac, a Mac on stage at Microsoft Build was unheard of. They could have gone, "April Fools, you can't release Visual Studio Code. We're not doing it." But, uh, we kept pushing the boundaries and the limits [music] and they let us they let us do it. And it felt like a shift when they were thinking about names and someone said, "Let's just call it code."
I was like, "Who does that? Who who has
the audacity to [music] just pick a noun?" And not just any noun, but like the noun. I thought it was both insane, audacious, and [music] it turned out to be the best choice that they ever could have made to like say, "Well, we'll just call it Coke." This was a time when a progressive web app, a chromium app, a an app that runs within Electron had a limit to its complexity.
I don't think anyone had seen [music] a performant web app like that. It was a showcase for Electron. It was a showcase for TypeScript. It was a showcase that a crossplatform app at that time 10 years ago could do the stuff that it did. [music] That in itself, I think got people interested in the app and made them want to try it. So tapping around and you can see I'm doing the game assets and the code all inside of VS Code. We'll zoom in a little bit. Scroll around. Move some
things left and right. It's pretty cool.
>> It was just totally interesting how much interest we generated with Visual Studio Code. And this was overwhelming.
I think it was end of April when we first announced VS Code and I think the Hacker News news line was via Visual Studio. So they dropped the code um ships crossplatform for Linux and Mac and then He was very hot that day and we sat in a bar and we drank one beer per 100 up votes on heck and I
think at 1,400 [laughter] up votes we had to pull the trigger. Uh and um yeah that is a very memorable moment especially the day after
>> of course that was just the beginning right so at that point we had no we were not on GitHub right we were on coplex or whatever we were we had nothing visibility what we had visible to give feedback was user voice which was a tool where people could up and down requests
and [music] this went very fast right people asked great but we need extensions. Great. Bet want to have this being open source. And this was clear. This is what became the next two goals we have to achieve, right? We need to have an [music] extensibility story and we have to be able to announce VS Code
as an open-source development tool. So, we had another intense 6 months ahead of us.
There was this one repository that we were not allowed to make public [music] and I of course clicked that button. [laughter] So the digital repository was for one minute open source >> and got I thought I tried got no way really. >> Yeah, I think it got and then we had to return >> for me open source until then had been you know it's just where would you host the code anyway? Yeah, you're just a kid doing software just put it on source forge maybe. Um and when you know we became open source the preparation for that it it's interesting we ended up
going to the code cleaning out a lot of things I remember I saw a commit where I'm just erasing to-dos so/todos [music] and I thought ah I didn't do it in the last 3 years I'm never going to do it let's just remove it like the code needs to be a little bit clean and the decision was made at the time that we wouldn't include any of the history so we would do a little snapshot of what the code looked like on release date, we would have Eric put his name behind it. And so the very first code in the VS Code open source repo is hello code from [music] Eric where all our work from the past four years just landed. I think TypeScript was already open source at the time, but that was pretty much the only great example from Microsoft. We were really paving a path of going open source as far as Microsoft is concerned.
And so what do we do? Like are we allowed to put the Microsoft name [music] in the source files? Are we allowed to put the branding in there? And it turns out, you know, after a lot of negotiation, yeah, branding has to be aside, iconography has to be aside. [music] And so we came up with this engineering setup. In private, you would have icons and whatever license text.
And in public, all the source code would be in there.
For us it [music] was obvious that extensions must run in a separate process. If an extension has some kind of programming error and for instance just you know is it stuck in a busy loop the extension process is dead but the
editor itself is always responding. [music] You always have a blinking cursor and you can always save your file. Windows often crashes because of bad drivers right? So bad drivers are not done by Microsoft but maybe by a third party vendor which has little time and little resources to develop a really good driver. Right? So now who's at fault? Is it the bad driver that crashes Windows or is it Windows that allows to be crashed like this? Right? You give people a very sharp knife and now they cut into their fingers. And this was something that we were like we will not do this. And at the time there was also Atom and they were like we're the most hackable editor and they were everything that the core [music] Atom developers could do extensions in the Atom ecosystem could do and in VS Code we we we didn't allow that and this comes with a lot of limitations and some people don't like us for this but it pays dividends. API becomes API the moment somebody uses it like you cannot say oh this is API and this is [music] internal API. There's no such thing as internal API. If somebody can call it, they will call it and declare API and then [music] you can be in the situation where there's an extension which is very popular uses an API which you don't want to use because you say it's an internal API do not use API and now they can hold
you hostage. We don't [music] change the API ever. So once the API is out, it is
out. If you wrote an extension 10 years ago, you can still install it. It will still run. And [music] um that's kind of our our guarantee.
>> Yeah. The first uh contribution was uh there was this big conference. We're like, "Oh, we're going open source." And then we had OmniSharp in there and it had this little status when you run it. And it's like, "Oh, getting ready, starting running." And because my spelling is not great, I had spelled running with three ends, right? And then it took like seven minutes. And the first open source contribution came along to fix the spelling. first request was a typo and this is how it started.
>> Thanks, Scott. I'm really happy to be here for this very special moment for our team. So, I'm here on the Microsoft VS Code uh GitHub repository page on the
settings page. I'll dive down into the danger zone and I make [snorts] this repository public by just confirming it and understand what this means. You can all view it and even more important you can all contribute it from now on. Okay, [applause] today we're not opening up just the the core of V studio code. We also open up some extensions and you saw they're all >> for extensions. You want to keep the API as simple as possible. If the hurdle is too high, people will not do extensions. What's interesting was people came to us, they want to write extensions. It's not that we had to tell them, hey, we have now an API, please. It was the other way around, right? It was push versus pull.
The S code came out. I sort of jumped on that really quickly and really liked the the [music] editing experience and at that point I found some issues sent a patch off to the VS code team before it was even open source and like in the next release you know literally like in a day or two uh the patch was you know added into the product and shipped in there [music] and so I just you know really became uh enamored with the product. So once they came out with an extension ecosystem or architecture, uh
[music] was really jumped on the opportunity to to to play around and see what I can create. [music] I was sort of really passionate about sort of like pushing the boundaries trying to bend VS Code to my will. My wife would actually joke that uh Git Lens was my mistress. So like [music] yeah, I would spend an enormous amount of time of nights and weekends uh working on Git Lens.
the barrier of entry to creating an extension was [music] so low. I mean, it was like the tiniest little bit of scaffolding. Um, and you know, you can publish it, package it together using, you know, sort of standard tools and then publishing it directly to the VS code marketplace and it was live within seconds. Honestly, in the early days, um, you know, [music] finding extensions, there was handful. So, you know, getting reach was a lot easier than it is today, where, you know, everything new is competing against [music] the hundreds of thousands that are already on there. [music] The extension ecosystem is one of the sort of biggest value props for for for Visual Studio Code. Um, you know, it's a wonderful, fast, awesome editor. Um, but its core ethos is about, you know, I always kind of call it the just in time IDE. Like it has these features, extensions and whatnot that, you know, are there just when you need them.
Anything that comes out, any new technology, any, you know, new thing is going to get an [music] extension for VS Code very easily. So you can sort of always sort of play, stay on that bleeding edge, it it it's sort of this self-fulfilling, you know, [music] feeds on itself network, you know, networking effect.
This whole thing is 3D printed and it's actually running Circuit Python. And that code was developed inside of Visual Studio Code using the Circuit Python extension.
>> Why do you think devs get so emotionally attached to an editor? >> Oh, what a great question. Why do devs get emotionally attached to an editor? Why am I emotionally attached to my shelves and my room and my lighting? It's my nest. It is the place that I spend all my time. I wrote a blog post a while back where I talked about the programmer's priorities. I said back buns brain. You got to invest in your own ass. So you buy a good chair. You got to have a great editor. You have a great monitor. It's where you spend your time. And if you move my cheese, I'm going to get mad.
>> [music]
>> Your code editor is probably the tool that you spend the most time in every single day. And it's important for you to feel like you're in the flow and as effective as possible when you're in that environment. I remember, you know, when VS Code first came out, you had all of these all of us that that were using other editors um kind of uh you know, downplayed it. We thought you you can't get us to use another editor. It's like the bar is just so high uh to offer people the value required to switch what they're using every [music] day. But VS Code did that.
[music]
I was a diehard Sublime Text fan. So much that I I even wrote a book about it. I had hundreds of blog posts about it. I was the Sublime Text guy. And then when VS Code came out, I kind of looked over it like, "Oh, that that looks kind of nice." You know, and I I used Sublime Tech for maybe another year. Um, but every time I went back to try it, I realized like, man, this is a much nicer
experience. A lot of people who were coming to VS Code were not coming from an IDE. They were coming from a text editor and and they didn't necessarily know about the IDE features. and we kind of got pilled into being like, "Ooh, that's kind of nice. Oh, it knows what my my methods are. It it knows about my codebase." And that made a lot of the like IDE people really mad because they've had that for years. Um, but us
text editor kids were like, "Oh man, this is awesome."
I cannot imagine a world without VS Code because it really made editing such a great experience. Like I spend majority of my hours with VS Code every day. And if you take away that tool, I actually don't know what to replace it with. VS Code being open and so extensible really
made it, you [music] know, the foundation of the editing experience in the current like modern world. even you see like so many different variations maybe of VS code it is still the same ecosystem it's just so I think hard to find you know ideas that's going to last for such a long time right projects come and go but the ideas in VS code and
[music] the larger ecosystem they've built is still there and they brought the entire industry with them that is that is very hard to do and that's like
s such an incredible thing
like a dark look
We were really happy right when we delivered extensibility story and we made the famous commit hello code open source when we then analyze kind of the
goal we had with we're not just an
editor we're not an ID but we are kind of in the middle of deep language support then we saw we still have our flagship languages like TypeScript that provided not only coloring or snippets that really provided a deep language support. The other language extensions we had about I think 100 most of them did coloring for a language and snippets but they didn't give you the semantic richness that we had for the others. So the question was what do we do right because we're not the leader in the market right we cannot expect that a new language author will come to VS code and use our API and integrate make just integration for VS code Ste





