How VSCode Became the Ultimate Editor for Web Developers

Search for a command to run...

No comments yet. Be the first to comment.
You can find the Chinese version at 從 IEEE 754 標準來看為什麼浮點誤差是無法避免的 Introduction When people first learn to code, they often encounter floating-point errors. If you haven't experienced this yet, you're very lucky! For example, in Python, 0.1 + 0.2 does...

You can find the Chinese version at 為什麼你應該幫 Rust Vector 加上初始容量 Introduction High-level programming languages usually offer growable arrays, like C++ and Rust's Vectors, Go's Slices, or JavaScript's Arrays. These can change in size and offer push and...

You can find the Chinese version at 分而治之 - 在 Golang 使用 Goroutine 進行平行運算 In Golang, starting a goroutine is very simple; you just need one line: go task(). This makes it easy to write concurrent programs. This article will explain how to use goroutin...

You can find the Chinese version at 用一個小例子談談 Golang 中的 Race Condition. Goroutine is one of the most important features of Go. It allows developers to easily achieve concurrency. Also, It is lightweight, making it feasible to create a substantial num...

You can find the Chinese version at Docker 實戰:使用 Volume 保存容器內的數據. This is the third article in the Docker Series. If you haven't read the previous article, "Pushing Your Docker Images to Docker Hub: A Step-by-Step Guide", I recommend taking a look a...

You can find the Chinese version at 新一代的編輯器 — VSCode.
There is a proverb that says, "If a workman wishes to do a good job, he must first sharpen his tools." For programmers, having a useful editor is crucial. Since many of my friends have asked me about which editor to choose, I'm writing this article to explain why I prefer to use VSCode.
When you have the color code, but don't know what the color looks like, or if you want to pick a suitable color but don't know where to find the palette, you can use the built-in Color Picker in VSCode.

Still using git diff command to view changes?

You can view them directly with better UI in VSCode.

VSCode has a built-in Emmet feature that speeds up writing HTML. and makes you look more like a professional developer!

Press <Cmd/Ctrl> + P to quickly jump to the file with a given filename.

Use Cmd/Ctrl + Click to navigate to the imported script.

Write code more efficiently with handy code snippets like this.setState() in React.

There are different icons for different kinds of files, which making it easy to distinguish files in a glimpse.

VSCode provides information on the parameter name, and type, which is very useful!


The multi-cursor feature allows you to edit multiple places at the same time.

You don't have to worry about the formatting and indentation because VSCode will do it automatically for you. If your team has a style guide, you can also do the formatting with ESLint.

VSCode allows you to set breakpoints while debugging, which makes it easier to see the call stack and check the value of variables.

Along with its powerful built-in features, VSCode also has a mature developer community, with many free plugins and themes. Additionally, VSCode receives frequent updates.

I used Vim for a long time before discovering VSCode. While Vim allows extensive customization, its steep learning curve and numerous shortcuts can be challenging. Nevertheless, Vim is still a good editor and its seamless integration with tmux provide a smooth development experience.
To get the best of both worlds, I now use the Vim extension for VSCode.
I only used Sublime for a short time. What I liked about it was the convenience of its package manager and fast startup time. However, it had some drawbacks such as the low update frequency and not being open-sourced. This means that developers can't fix bugs by submitting PRs.
If you're using Sublime and want to try out VSCode, you can consider using the Sublime Keymap extension. Although I haven't used it yet, the reviews are pretty positive.
If you're still hesitating about whether to use VSCode, I highly recommend it. In my opinion, it's the most successful product that Microsoft released.

If you think some awesome features aren't mentioned here, please feel free to comment and I'll add them to the post!