Visual Studio vs. Visual Studio Code: How to choose (2024)

Choosing between Visual Studio Code and Visual Studio may depend as much on your work style as on the language support and features you need. Here’s how to decide.

By Martin Heller

Contributor, InfoWorld |

Visual Studio vs. Visual Studio Code: How to choose (2)
Table of Contents
  • The case for Visual Studio Code
  • The case for Visual Studio
  • Visual Studio or Visual Studio Code?

Show More

For decades, when I got to work in the morning, I would start Microsoft Visual Studio (or one of its predecessors, such as Visual C++ or Visual InterDev), then brew tea and possibly attend a morning meeting while it went through its laborious startup. I would keep the IDE open all day as I went through develop/test/debug cycles to avoid another startup delay. When I worked on a C++ project with ~2 million lines of code, I also jump-started each day’s work by automatically running a batch script that did a code checkout and full rebuild of the product in the wee hours.

The startup overhead of Visual Studio has decreased significantly over the years, by the way. It’s now a non-issue even in huge Visual Studio 2022 projects.

Meanwhile, Visual Studio Code usually starts up quickly enough that I can be productive in a few minutes, even for large projects. I said usually, not always: Visual Studio Code itself needs a monthly update, and the many extensions I have installed often need their own updates. Still, even updating a dozen extensions in Visual Studio Code takes much less time than Visual Studio used to take to rebuild the symbol tables of a large C++ project.

Still, choosing between Visual Studio Code and Visual Studio is not as simple as choosing between a lightweight editor and a heavyweight IDE. While Visual Studio Code is highly configurable, Visual Studio is highly complete. Your choice may depend as much on your work style as on the language support and features you need. Let’s take a look at the capabilities and the trade-offs of these two development tools.

The case for Visual Studio Code

Visual Studio Code is a lightweight but powerful source code editor that runs on your desktop and is available for Windows, macOS, and Linux. It comes with built-in support for JavaScript, TypeScript, and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, and Go) and runtimes (such as .NET and Unity).

Aside from the whole idea of being lightweight and starting quickly, Visual Studio Code has IntelliSense code completion for variables, methods, and imported modules; graphical debugging; linting, multi-cursor editing, parameter hints, and other powerful editing features; snazzy code navigation and refactoring; and built-in source code control including Git support. Much of this was adapted from Visual Studio technology.

Visual Studio Code proper is built using the Electron shell, Node.js, TypeScript, and the Language Server protocol, and is updated on a monthly basis. The extensions are updated as often as needed. The richness of support varies across the different programming languages and their extensions, ranging from simple syntax highlighting and bracket matching to debugging and refactoring. You can add basic support for your favorite language through TextMate colorizers if no language server is available.

The code in the Visual Studio Code repository is open source under the MIT License. The VS Code product itself ships under a standard Microsoft product license, as it has a small percentage of Microsoft-specific customizations. It’s free despite the commercial license.

Visual Studio vs. Visual Studio Code: How to choose (3) IDG

The case for Visual Studio

Visual Studio (current version Visual Studio 2022, which is 64-bit) is Microsoft’s premier IDE for Windows and macOS. (However, note that Microsoft is retiring Visual Studio for Mac by August 31, 2024.) With Visual Studio, you can develop, analyze, debug, test, collaborate on, and deploy your software.

On Windows, Visual Studio 2022 has 17 workloads, which are consistent tool and component installation bundles for different development targets. Workloads are an important improvement to the Visual Studio installation process, because a full download and installation of Visual Studio 2022 can easily take hours and fill a disk, especially an SSD.

Visual Studio vs. Visual Studio Code: How to choose (4) IDG

Visual Studio 2022 for Mac has a less complicated installer than the Windows version, mostly because it doesn’t support as many targets. It allows you to develop for web, mobile, and desktop with .NET, with Unity, Azure, and Docker support included by default. The .NET Core, Android, iOS, and macOS targets are optional; the latter three use Xamarin.

Visual Studio vs. Visual Studio Code: How to choose (5) IDG

Visual Studio 2022 comes in three SKUs: Community (free, not supported for enterprise use), Professional ($1,199 first year/$799 renewal), and Enterprise ($5,999 first year/$2,569 renewal). The Enterprise Edition has features for architects, advanced debugging, and testing that the other two SKUs lack.

Visual Studio vs. Visual Studio Code: How to choose (6) IDG

Visual Studio or Visual Studio Code?

You would think that deciding between Visual Studio and Visual Studio Code for any given software development task would be as simple as deciding between an IDE and an editor. It’s not, mostly because Visual Studio Code can be configured to be quite close to an IDE for many programming languages. However, along with this configurability come a number of trade-offs.

For example, if your development style is test-driven, Visual Studio will work right out of the box. On the other hand, there are more than 15 test-driven development (TDD) extensions for Visual Studio Code supporting Node.js, Go, .NET, and PHP. Similarly, Visual Studio does a good job working with databases, especially Microsoft SQL Server and its relatives, but Visual Studio Code has lots of database extensions. Visual Studio has great refactoring support, but Visual Studio Code implements the basic refactoring operations for half a dozen languages.

There are a few clear-cut cases that favor one development environment over the other. For instance, if you are a software architect and you have access to Visual Studio Enterprise, you’ll want to use that for the architecture diagrams. If you need to collaborate with team members on development or debugging, then Visual Studio is the better choice. If you need to do serious code analysis or performance profiling, or debug from a snapshot, then Visual Studio Enterprise will help you.

Visual Studio Code tends to be popular in the data science community. Nevertheless, Visual Studio has a data science workload that offers many features.

Visual Studio doesn’t run on Linux; Visual Studio Code does. On the other hand, Visual Studio for Windows has a Linux/C++ workload and Azure support.

For daily bread-and-butter develop/test/debug cycles in the programming languages supported in both Visual Studio and Visual Studio Code, which tool you choose really does boil down to personal preference. If you tend to work on a development project for hours at a time, then Visual Studio might be a better fit. If you tend to dip into development for brief periods, and rotate between other tasks, then Visual Studio Code might make you happier.

Next read this:

  • Why companies are leaving the cloud
  • 5 easy ways to run an LLM locally
  • Coding with AI: Tips and best practices from developers
  • Meet Zig: The modern alternative to C
  • What is generative AI? Artificial intelligence that creates
  • The best open source software of 2023

Related:

  • Visual Studio
  • Microsoft
  • Development Tools
  • Software Development
  • Integrated Development Environments
  • Enterprise Buyer’s Guides
  • Enterprise Buyer’s Guide

Martin Heller is a contributing editor and reviewer for InfoWorld. Formerly a web and Windows programming consultant, he developed databases, software, and websites from 1986 to 2010. More recently, he has served as VP of technology and education at Alpha Software and chairman and CEO at Tubifi.

Follow

Copyright © 2023 IDG Communications, Inc.

Visual Studio vs. Visual Studio Code: How to choose (2024)

FAQs

Visual Studio vs. Visual Studio Code: How to choose? ›

Visual Studio might be the way to go if you prioritize Microsoft support and robust features for complex projects. On the other hand, if you seek versatility and a lightweight environment, Visual Studio Code could be your preferred choice.

Which Visual Studio to choose? ›

If you need to collaborate with team members on development or debugging, then Visual Studio is the better choice. If you need to do serious code analysis or performance profiling, or debug from a snapshot, then Visual Studio Enterprise will help you.

How to use VS Code with Visual Studio? ›

Set up Visual Studio Code
  1. Download and install VS Code.
  2. Create a new file.
  3. See an overview of the user interface.
  4. Install support for your favorite programming language.
  5. Change your keyboard shortcuts and easily migrate from other editors using keymap extensions.
  6. Customize your editor with themes.

Should I use VS Code or Visual Studio for Python? ›

which one has more features? Visual studio has better options but if you want to true IDE for python development i would recommend Pycharm professional. VS Code is a code editor, and Visual Studio is a full-fledged IDE. Obviously, Visual Studio has more features.

What is the difference between Visual Basic and Visual Studio Code? ›

Visual Studio is an integrated development environment (IDE) for writing Visual Basic and other 'Visual' branded programming languages. As a result, comparing the IDE to the programming language isn't entirely appropriate: Visual Basic is the language you're writing in, and Visual Studio is the Windows application.

How do I choose where Visual Studio is installed? ›

SDKs and tools are also stored in this directory.
  1. When you install Visual Studio, choose the Installation locations tab.
  2. In the Visual Studio IDE section, accept the default path. ...
  3. In the Download cache section, decide whether you want to keep the download cache, and if so, where you want to store its files.
Dec 7, 2023

Is Visual Studio Code good for beginners? ›

Visual Studio Code is a popular and powerful code editor that can be used for a wide variety of programming tasks. Whether you are a beginner or an experienced developer, Visual Studio Code can help you write, test, and debug code more efficiently.

Should I have both Visual Studio and Visual Studio Code? ›

VS Code is cross platform but Visual Studio isn't, it's Windows only (there's “Visual Studio for mac” but confusingly, that's not the same thing). So in order for everyone to get the same experience VS Code is used.

Can I use both Visual Studio and Visual Studio Code? ›

Of course they can. I have both installed. To understand the differences better, refer to this answer What are the differences between Visual Studio Code and Visual Studio?

Which Visual Studio should I download? ›

Visual Studio Code

The top pick for Java and web developers, with tons of extensions to support just about any programming language. By using Visual Studio Code you agree to its license & privacy statement.

Do I need to install Python if I have VS Code? ›

You must install a Python interpreter yourself separately from the extension. For a quick install, use Python from python.org and install the extension from the VS Code Marketplace.

Does anyone use Visual Studio for Python? ›

Scientists, casual developers, professional developers, and many universities alike use Python for programming. You can learn more about the language on python.org and Python for Beginners. Visual Studio is a powerful Python IDE on Windows.

Is VS Code good for Python? ›

Virtual Studio Code (VSCode) is a perfect Integrated Development Environment for Python. It is simple and comes with built-in features that enhance the development experience.

Why use Visual Studio Code? ›

At its heart, Visual Studio Code features a lightning fast source code editor, perfect for day-to-day use. With support for hundreds of languages, VS Code helps you be instantly productive with syntax highlighting, bracket-matching, auto-indentation, box-selection, snippets, and more.

Is VS Code lighter than Visual Studio? ›

Visual Studio Code is lighter than Visual Studio because it only takes a couple of hundred MBs in your computer and can be installed on any operating system. However, its size should not be mistaken as a weakness since VSC is quite a powerful integrated development environment.

Which type of Visual Studio should I download? ›

Visual Studio Code

The top pick for Java and web developers, with tons of extensions to support just about any programming language. By using Visual Studio Code you agree to its license & privacy statement.

Should I use Visual Studio VS Visual Studio Code? ›

Visual Studio might be the way to go if you prioritize Microsoft support and robust features for complex projects. On the other hand, if you seek versatility and a lightweight environment, Visual Studio Code could be your preferred choice.

Which Visual Studio is best, Professional or Enterprise? ›

For those who require additional features, Visual Studio Enterprise is the best choice since it provides all the extra features and services. For those who only need the basics, Visual Studio Professional is the right choice.

What is the difference between Visual Studio Community and Professional? ›

Visual Studio runs on Windows and Mac. It has 3 editions – community, professional, and enterprise. The community version is free, while the professional and enterprise are not. The installation is quite a bit more robust on Windows than Mac.

Top Articles
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 5889

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.