For decades, when I was working in the morning, I would launch Microsoft Visual Studio (or one of its predecessors, such as Visual C or Visual InterDev), then make a cup of tea while it started, and maybe go to a morning meeting. . I keep the IDE open all day when I'm doing a dev/test/debug cycle to avoid another startup delay. When I was developing a C project with about 2 million lines of code, I also automatically ran batch scripts to speed up my daily work. The scripts could check out the code in the early morning and complete a complete rebuild of the product.
Nowadays, I don’t feel the need to open code projects every morning or leave them open all day long. Visual Studio Code usually starts up fast enough that I can be working on it within minutes, even on large projects. I always say: Visual Studio Code itself needs to be updated monthly, and many of the extensions I install often need updates themselves. However, even updating a dozen extensions in Visual Studio Code takes much less time than it takes Visual Studio to rebuild the symbol table of a large C project.
However, 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 feature-rich. Your choice may depend not only on the language support and features you need, but also on how you work. Let’s take a look at the functions and shortcomings of these two development tools.
What is VS Code (Visual Studio Code)?
Visual Studio Code is a lightweight yet powerful source code editor that runs on the desktop and is available for Windows, MacOS, and Linux. It has built-in support for Java, TypeScript, and Node.js, as well as a rich ecosystem of extensions for other languages (such as C, C#, Java, Python, PHP, and Go) and runtime environments (such as .Net and Unity). ).
In addition to the concept of lightweight and fast startup, VS Code also has the following functions: IntelliSense code completion for variables, methods, and imported modules; graphical debugging; code inspection/verification; multi-cursor editing ; Parameter hints and other powerful editing features; excellent code navigation and refactoring; and built-in source code control (including Git support). Much of this functionality is adapted from Visual Studio technology.
VS Code itself is built using Electron shell, Node.js, Type and Language Server protocols, and is updated monthly. Extensions can be updated as often as needed. The richness of support varies between different programming languages and their extensions, ranging from simple syntax highlighting and bracket matching to debugging and refactoring. If no language server is available, you can add basic support for your preferred language via TextMate shaders.
The code in the Visual Studio Code code base is open source code under the MIT license. The VS Code product itself is delivered with a standard Microsoft product license, as it has a small number of Microsoft-specific customizations. It's free, although there is a commercial license.
Source code for Visual Studio Code as seen in Visual Studio Code
Note the message showing the function author and date of last change (using information from the Git repository create). Also note the trackSelection() "peek" popup in the middle of the screen.
What is Visual Studio?
Visual Studio (the current version is Visual Studio 2019) is Microsoft’s preferred IDE for Windows and MacOS. Using Visual Studio, you can develop, analyze, debug, test, collaborate, and deploy software.
On Windows, Visual Studio 2019 currently supports 17 workloads, which are consistent installation packages of tools and components for different development goals. Workloads are an important improvement to the Visual Studio installation process, as the entire download and installation of Visual Studio 2019 is likely to take several hours and fill up the disk, especially the SSD.
Visual Studio 2019 supports 17 different workloads, representing different development goals
The installation program of Visual Studio 2019 for Mac is simpler than the Windows version, mainly Since it doesn't support as many targets. It lets you develop for web, mobile and desktop using .Net, and supports Unity, Azure and Docker by default. Targets such as .Net Core, Android, iOS, and MacOS are optional, with the latter three using Xamarin.
Visual Studio for Mac Installer
Please note that it only has 4 optional targets compared to the 17 workloads provided by Visual Studio for Windows.
Visual Studio 2019 comes in three SKUs: Community Edition (free, not supported for enterprise use), Professional Edition ($1,199 first year/$799 renewal), and Enterprise Edition ($5,999 first year/$2,569 renewal). The Enterprise Edition has architect-oriented features, advanced debugging and testing that are not available in the other two SKUs.
Visual Studio 2019 Editing UI
Please note the menu items for testing and profiling, Visual Studio Code does not have these features.
Visual Studio or Visual Studio Code?
You would think: deciding between Visual Studio and Visual Studio Code for any given software development task is as simple as deciding between an IDE and an editor. This is not the case, mainly because VS Code can be configured to be very close to an IDE for many programming languages. However, with this configurability comes a number of drawbacks.
For example, if your development style is test-driven, Visual Studio can be used immediately. VS Code, on the other hand, has about 15 test-driven development extensions that support Node.js, Go, .Net, and PHP. Likewise, Visual Studio has good compatibility with databases (especially Microsoft SQL Server and its derivatives), but VS Code has many database extensions. Visual Studio has excellent refactoring support, but Visual Studio Code implements basic refactoring operations for six languages.
There are several clear situations. For example, if you are a software architect and have access to Visual Studio Enterprise, you will want to use Visual Studio. If you need to collaborate, co-develop, or debug with team members, Visual Studio is the better choice. If you need to do serious code analysis or performance analysis or debug from snapshots, then Visual Studio Enterprise will help you.
VS Code tends to be popular in the data science community. However, Visual Studio 2019 has data science workloads that offer many features.
Visual Studio cannot run on Linux, VS Code can. Visual Studio for Windows, on the other hand, has Linux/C workloads and Azure support.
For daily development/testing/debugging cycles using languages supported in both Visual Studio and VS Code, which one to choose really comes down to personal preference. If you work on development projects for hours at a time, Visual Studio may be more suitable. If you develop for short periods of time, rotating between other tasks, Visual Studio Code may be more satisfying for you.
Recommended tutorial: vscode tutorial
The above is the detailed content of How to choose between Visual Studio and VS Code?. For more information, please follow other related articles on the PHP Chinese website!

The difference between VisualStudioProfessional and Enterprise is in the functionality and target user groups. The Professional version is suitable for professional developers and provides functions such as code analysis; the Enterprise version is for large teams and has added advanced tools such as test management.

VisualStudio is suitable for large projects, VSCode is suitable for projects of all sizes. 1. VisualStudio provides comprehensive IDE functions, supports multiple languages, integrated debugging and testing tools. 2.VSCode is a lightweight editor that supports multiple languages through extension, has a simple interface and fast startup.

VisualStudio is a powerful IDE developed by Microsoft, supporting multiple programming languages and platforms. Its core advantages include: 1. Intelligent code prompts and debugging functions, 2. Integrated development, debugging, testing and version control, 3. Extended functions through plug-ins, 4. Provide performance optimization and best practice tools to help developers improve efficiency and code quality.

The differences in pricing, licensing and availability of VisualStudio and VSCode are as follows: 1. Pricing: VSCode is completely free, while VisualStudio offers free community and paid enterprise versions. 2. License: VSCode uses a flexible MIT license, and the license of VisualStudio varies according to the version. 3. Usability: VSCode is supported across platforms, while VisualStudio performs best on Windows.

VisualStudio supports the entire process from code writing to production deployment. 1) Code writing: Provides intelligent code completion and reconstruction functions. 2) Debugging and testing: Integrate powerful debugging tools and unit testing framework. 3) Version control: seamlessly integrate with Git to simplify code management. 4) Deployment and Release: Supports multiple deployment options to simplify the application release process.

VisualStudio offers three license types: Community, Professional and Enterprise. The Community Edition is free, suitable for individual developers and small teams; the Professional Edition is annually subscribed, suitable for professional developers who need more functions; the Enterprise Edition is the highest price, suitable for large teams and enterprises. When selecting a license, project size, budget and teamwork needs should be considered.

VisualStudio is suitable for large-scale project development, while VSCode is suitable for projects of all sizes. 1. VisualStudio provides comprehensive development tools, such as integrated debugger, version control and testing tools. 2.VSCode is known for its scalability, cross-platform and fast launch, and is suitable for fast editing and small project development.

VisualStudio is suitable for large projects and Windows development, while VSCode is suitable for cross-platform and small projects. 1. VisualStudio provides a full-featured IDE, supports .NET framework and powerful debugging tools. 2.VSCode is a lightweight editor that emphasizes flexibility and extensibility, and is suitable for various development scenarios.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Mac version
God-level code editing software (SublimeText3)
