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.

Ask HN: Why do you like Visual Studio Code?

30 pointsby Hixon10over 2 years ago
People really like VS Code. I am wonder, what is your reasons, why do you love it? Let&#x27;s help other developers to understand the main advantages of this editor over JetBrains IDEs, Vim, Emacs, and Sublime Text.<p>Maybe it is one of the following items, or something else:<p>1. Some fancy hotkeys. Give examples.<p>2. Favorite extensions. Give examples.<p>3. Gitpod, or codespaces integration.<p>4. It is free for use.<p>5. It is fast for you.

44 comments

closeparenover 2 years ago
Remote is the killer app. I don&#x27;t <i>like</i> VSCode but it is the only modern editor capable of a modern native-ish local UI while running acceptable-ish code indexing and intelligence on a remote server. As my company&#x27;s monorepo grows, laptops increasingly choke on it. JetBrains Projector&#x2F;Gateway are interesting prototypes but don&#x27;t work reliably yet. It&#x27;s not as bad as VNC, but it feels closer to VNC than to a genuine local native app with a client&#x2F;server architecture.
评论 #33695467 未加载
评论 #33695588 未加载
评论 #33695528 未加载
bmitcover 2 years ago
The remoting extensions for remoting over SSH, into Docker, and into WSL are really killer features. Nothing else has the same workflow and ease of use or even comes close, to my knowledge.<p>The other thing is that Visual Studio Code generally just works and gets me to writing code without issues. I came to it after trying to give Emacs a try after multiple times of doing so. I could sort of wrangle Emacs to do what I needed it to do, but I was having to write code <i>for</i> Emacs and search forums and poor documentation on how to do so, and even then, it was buggy. Switching to Visual Studio Code took just a few minutes of installing a couple of extensions, and then I was off writing code.<p>It is a little bit slow and sluggish at times, but it isn&#x27;t an issue at the moment.<p>The .devcontainer integration is also pretty slick. Pull a repository, open Visual Studio Code, and it will open up in a Docker container with your environment all configured and ready to go.
shagminover 2 years ago
It depends on the language and codebase. For a lot of projects I use the IDE that has all the tooling built-in like Visual Studio for C# projects, IntelliJ for Java, PyCharm for Python, etc.,. Log files, CSV files, various other miscellaneous files, and pretty much any other code I come across I use Visual Studio Code. Even if there is a good IDE often I&#x27;ll just use Visual Studio Code if I&#x27;m dealing with things where the IDE is just as likely to get in the way.<p>The main thing I like is that by default I can just edit text with plenty of keyboard shortcuts, without the bloat of an IDE, but there&#x27;s also an extension for practically anything I might want to do. I can also do all my command line work from it, run things and debug from it, etc.,. Guess I&#x27;ve sort of made it into an IDE that only has the bloat (features) I need, and not extra stuff.
spansoaover 2 years ago
Never liked it. Takes an age to load up, but I guess once it&#x27;s launched you can keep it open, so there is that. Then there&#x27;s the MS telemetry to worry about, although VSCodium[0] addresses that.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;VSCodium&#x2F;vscodium" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;VSCodium&#x2F;vscodium</a>
评论 #33695446 未加载
评论 #33695022 未加载
评论 #33695107 未加载
agilobover 2 years ago
I work with 3+ programming languages every single day, so learning +30 keyboards shortcuts of a single editor that works OKish with all of them beats having 6 JetBrains products each with similar, but still different keyboard shortcuts.
lm28469over 2 years ago
It just works, fast enough, nice enough, has the addons I want.<p>It was fun toying around with emacs for 3 hours per day to install new shit and make it more useable back in uni but I actually have stuff to get done these days
chadlaviover 2 years ago
It is extensible, free, and frequently updated&#x2F;well maintained. I&#x27;m not a MS fan, but they did a good job with this one.<p>Favorite extensions is a meaningless thing to ask for, it is entirely dependent on what you are using VSCode to make. But there are good extensions for TS&#x2F;JS&#x2F;React workflows.
runjakeover 2 years ago
1. Looks decent, right out of the box.<p>2. Configured well, out of the box.<p>3. Performs decently (albeit nowhere nearly as well as vim or Sublime).<p>4. Remote editing.<p>5. Wealth and ease of installation of extensions.<p>Background: Have been using UNIX since the mid-80s, have tons of experience with vi and later vim, and generally prefer CLI over GUI.
postalratover 2 years ago
I like that it&#x27;s another example where web developers made something that systems developers haven&#x27;t been able to.
thorinover 2 years ago
For me, fast and simple, but extensible. Using Jetbrains&#x2F;VS&#x2F;Eclipse is ok if you use it every day for a single technology, but some people need a text editor + IDE they can use for multiple technologies which kind of works for all.<p>e.g. I use code to view .net, node, web projects, browsing Andoid code and other languages. I could use VS but it takes ages to start up and I find the search better in Code. Mostly I&#x27;m reading rather than writing code though.<p>Also +1 I used the plugin for creating azure functions recently and it worked 1st time and well even for someone not used to .net or azure.
warinukraineover 2 years ago
Like:<p>. _amazing_ integration with Julia. The only reason why I used Jupyter notebooks was for the concept of cells. But VS Code does that better AND the code is valid Julia code (as opposed to when using a Jupyter notebook, where the thing generated is not valid Julia code). Same goes for python.<p>. I LOVE the &quot;Remote SSH&quot; extension. With zero effort, other than installing the extension on my local, I can run VS Code backend on a remote machine. This allows me to, again with zero effort, be able to work on a machine that might not be great (like my laptop) but point the backend to some big machine and do some serious data crunching with a frontend on my laptop.<p>. I really like the CTRL-SHIFT-P box (it&#x27;s called the &quot;command palette&quot;). It&#x27;s the ability to _search_ IDE commands&#x2F;features from a search box. This is in contast to having to memorize a hotkey (like vim) or clicking around various dropdowns (like Microsoft-inspired stuff).<p>. Like it&#x27;s not vim-fast, but the UI is still quite fast.<p>. You CAN customize, but on the other hand all defaults are quite good.<p>I&#x27;ve been a huge vim fan for a long as I can remember, but VS code has replaced it for all my coding. The only situation where I still use vim is if I need to open multi-Gb data&#x2F;log files.<p>EDIT: As other people mention PyCharm - are you nuts? PyCharm is VERY sluggish. I hate it.
评论 #33695456 未加载
alexmolasover 2 years ago
I like it because it offers for free some functionalities that are paid in PyCharm, for example being able to SSH to a remote machine and edit the code directly there.<p>However, I miss a lot all the refactoring functionalities that PyCharm offers. For instance, moving a class from one module to another module is trivial in PyCharm (all imports from all other files are automagically updated), but it&#x27;s a nightmare in VSCode (you need basically to go file by file and update the imports).
curiousgalover 2 years ago
Honestly, I liked it quite well up until I had to use it in an org environment for Python development. The only way to configure VSCode to accept custom Windows environment variables or change the run dir means you either have to run your code as a task or in debug mode. It does not support simply configuring the environment variables and running the code in the integrated terminal. So yeah, it might be not not there as an IDE for me.
评论 #33695661 未加载
PeterStuerover 2 years ago
The VS.Code UI felt far more intuitive for me, but I switched to PyCharm because it is far easier to set up and maintain than a VS.Code environment.
评论 #33694764 未加载
constantcryingover 2 years ago
I think its greatest feature is that you can setup <i>one</i> environment (with a lot of options) and get very good tooling for a wide varity of languages. No need to learn about the ideosyncracies, absent features and novelties of different IDEs.<p>If I want to try out something different (or familiar) all I need to do is install one extension (and maybe some packages) and for the most common languages I get a debugger, autocomplete, syntax, etc. <i>without</i> needing to look for a language specific IDE which might or might not have the features I want. I can switch between different tasks all without leaving a common, relatively complete environment. Likely any given repo contains different languages, even if it is just markdown having <i>one</i> software which does it all is pretty neat.
wilsonnb3over 2 years ago
I don’t really use VSCode as much as I use VSCode extensions.<p>It’s the default target these days so when you go to get set up using Flutter, the heaps game engine, Angular, PlatformIO, etc. they all have VSCode extensions.<p>If I am doing something that I don’t need or want an extension for I will use Sublime Text.
hyperman1over 2 years ago
Compared to Emacs and VI: The world has standardized on different UI conventions, leaving these 2 in the dust. Text editing should use the conventions as laid out by e.g. windows notepad: Arrow keys, standard keys for cut&#x2F;copy&#x2F;paste. The difference is not only shortcuts but the whole GUI paradigm.<p>Comparex to Jetbrains:. It is 1 tool that can deal with all text processing, not a different product for each language. It can deal with a PHP+ Java+C hybrid, including some javascript and SQL.<p>Vs Jetbrains and Sublime: Free. This also means no license management and no credit card unsafety (I am not in the USA) or payment processor madness.<p>Linux has no real notepad++ competitor. Kate comes close, but vscode comes even closer.
评论 #33695402 未加载
评论 #33695549 未加载
jasmerover 2 years ago
It&#x27;s ideal when you don&#x27;t have a specific tool for something aka IntelliJ is generally better for java, but for looking at &#x27;whatever&#x27; especially new&#x2F;mixed repos where you don&#x27;t want to set up an env. then VSCode is it.<p>And TypeScript.
basemiover 2 years ago
Installed yesterday for the first time (VSCodium &quot;variant&quot;) on linux via snap.<p>I was using Atom (will be retired in Dec this year) but Zen is not ready nor testable. All I do is bash, basic python, basic ruby and some markdown&#x2F;asciidoc so no need for special extensions and VSCodium seems to fit with reasonable defaults.<p>I am also fan of Geany which is very lightweight and has some plugins but the UI feels a bit outdated and some extensions are orphaned.<p>My dream of an editor: FOSS, lightweight, modern GUI, multi-language and with a nice API for extensions (I will seriously try vim&#x2F;neovim some day)
oksoover 2 years ago
Because it is a great example of Microsoft&#x27;s strategy to take over the IDE space similar to the old Embrace-Extent-Extinguish:<p>- Embrace the open-source movement and publish an open-source IDE so people can&#x27;t complain it is not.<p>- Extend the product with an ecosystem of extensions and integrations that depend on your IDE.<p>- Extinguish competition by creating a dependency on proprietary platforms such as GitHub and Azure.<p>Bonus: Fill it with spyware because Google Chrome demonstrated most people don&#x27;t understand the potential consequences.
nailerover 2 years ago
&gt; 5. It is fast for you.<p>This.<p>Compared to Java based IDEs specifically: whenever a Java person tells me any Java app is fast, I try it, and I can feel the latency. It&#x27;s been this way for 20 years now.
tanderson425over 2 years ago
It&#x27;s like a very well-presented emacs but I don&#x27;t have to remember 50,000 key sequences, or function names, or variable names.
jdmg94over 2 years ago
Its free, it has a healthy extensions ecosystem and I can customize it to my heart&#x27;s content. I don&#x27;t care for an IDE that comes with their own opinions and the kitchen sink, and I know other people might be looking for an out-of-the-box experience but I have already developed my own opinions and VSCode is flexible enough for me to work as I like
p0dover 2 years ago
I like it because it is fast and there is a nice ssh extension. I test code over ssh on one cloud server and then push to another.
mradekover 2 years ago
It’s got extensions. That work.<p>It’s easy to install and start using. Immediate.<p>It’s customizable. My workspace is perfect.<p>I have just one keybind customization and that’s to cmd + J or ctrl + J to switch between integrated terminal and editor. Without making the terminal disappear.<p>I was using spacemacs prior to VSC and now I spend more time coding and not fiddling some settings all the time.
TheLoafOfBreadover 2 years ago
For me it is project-dependent configuration. I can setup hotkeys (i.e. F5 for debugging, F7 for compilation) and it will get written into JSON file which is then part of the project (workspace).<p>So when I have other PC and download project via Git, all hotkeys are working as previously without setting the Visual Studio Code itself.
LinAGKarover 2 years ago
I first started using it because it has good support for both Python, Cython and C&#x2F;C++, with intellisense, in the same application, and without constraints on the build system. And on top of that it&#x27;s free. And it has nice git integration (with gitlens).
anonuser123456over 2 years ago
14 year Emacs user.<p>1. Fuzzy command completion like Emacs helm-M-x<p>2. Remote shell integration that is better than Emacs TRAMP.<p>3. Works more reliably than Emacs.<p>4. LSP support.<p>5. Works on Mac, Windows, Linux.<p>6. Can cajole coworkers into using it and thus have deeply integrated tooling in our workflow that applies to everyone.<p>Things I miss: 1. Org mode (particularly org-capture)<p>2. eval-region<p>3. helm-sloop
评论 #33696127 未加载
评论 #33695484 未加载
dotmoboover 2 years ago
1. ctrl+p and ctrl+shift+p = everything you need<p>2. Github Copilot<p>For me it&#x27;s the successor of Sublime Text and Atom
j45over 2 years ago
It quickly becomes invisible like it should be and not take a moments more thought than it needs to be able to focus on real works<p>The extensions are nice and handy, and the ability to run it in gitpod is pretty sweet too
waynesonfireover 2 years ago
Seems like the ide that&#x27;s receiving investment in devtools for indie technologies I&#x27;m experimenting with.<p>Hasn&#x27;t gotten in my way. It&#x27;s fast. The quality of the devtools are not perfect but useable.
shafyyover 2 years ago
I was using Sublime, and only switched to VS Code after starting to use Gitpod. But I gotta say that the whole exentions ecosystem is much better than Sublime&#x27;s.
hnthrowaway0315over 2 years ago
I like it for its flexibility and relatively light weight comparing to an IDE. Only complain is that I wish I don&#x27;t have to learn js&#x2F;ts to develop plugins.
beardywover 2 years ago
Because it has handled anything I threw at it (platforms and languages) without missing a beat and free. Hard to imagine what would do better.
HKH2over 2 years ago
It&#x27;s good for editing CSS files because it shows colors directly and for each color it gives you a color picker to modify it.
mrkeenover 2 years ago
Syntax highlighting &amp; cross platform.
extasiaover 2 years ago
Zen mode is great. Ctrl-shift-k + ctrl-z and I&#x27;m free of all the fluff and ready to code.
dankwizardover 2 years ago
I expect to see &quot;Why you should be using VSCode in 2022&quot; on your blog tomorrow.<p>What a thread!
jokoonover 2 years ago
Doesn&#x27;t have all the feature of msvc for C++, or it requires integration.
nocubiclesover 2 years ago
It works well with other Microsoft products that I use.
ckrapuover 2 years ago
Copilot. Nothing else comes close!
MrManover 2 years ago
I actually hate it
评论 #33695753 未加载
jdcampolargoover 2 years ago
extensions!
MostlyInnocentover 2 years ago
0. I install it and it Just Works. I&#x27;m just a C# wageslave, so my experience may be atypical, but:<p>1. I download and run the vscode installer, either on Windows (boo, hiss, I know), MacOS (boo, hiss, I know) or Linux (some recent Ubuntu, boo, hiss, I know, should build my own distro and then complain vscode doesn&#x27;t work, but, sorry, busy busy...)<p>2. I clone a repo, open the .csproj or .sln; vscode offers to download and install the (boo, hiss, proprietary, I&#x27;m sure, I know, I&#x27;m sorry, not sorry) bits required to deal with that<p>3. I do my work, compile, run, debug, all fine, no issues, can set breakpoints, inspect variables, get InteliCode&lt;tm&gt; (yes, boo, hiss, should learn to appreciate code without helping wheels, sorry, not sorry), check in my branch, create a PR, be done with my day (boo, hiss, yes I know I should be tweaking my dotfiles and such, but, you know, busy, busy)