In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to choose Visual Studio and VS Code, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
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 during its startup, and maybe go to a morning meeting. I leave IDE on all day during the development / test / debug cycle to avoid another startup delay. When I develop a C++ project with about 2 million lines of code, I also speed up daily processing by automatically running batch scripts that check out code in the wee hours of the morning and complete a full reconstruction of the product.
Now, I don't think it's necessary to open code projects every morning or leave them open all day. Visual Studio Code usually starts fast enough that even for large projects, I can get to work in a matter of minutes. I often say that Visual Studio Code itself needs to be updated monthly, and many of the extensions I install often need to be updated themselves. However, even updating the 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 lightweight editors and heavyweight IDE. Although Visual Studio Code is highly configurable, Visual Studio is highly functional. Your choice may depend not only on the language support and features you need, but also on the way you work. 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 but powerful source code editor that runs on the desktop for Windows, MacOS, and Linux. It has built-in support for Java, Type, 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 quick startup, VS Code has the following features: IntelliSense code completion for variables, methods, and import modules; graphical debugging; code review / validation; multi-cursor editing; parameter hints and other powerful editing features; excellent code navigation and refactoring; and built-in source code control (including Git support). Most of these functions are adapted from Visual Studio technology.
VS Code itself is built using the Electron shell, Node.js, Type, and Language Server protocols and is updated monthly. Extensions can be updated frequently as needed. The richness of support varies with different programming languages and their extensions, from simple syntax highlighting and parenthesis matching to debugging and refactoring. If no language server is available, you can add basic support for your preferred language through the TextMate shader.
The code in the Visual Studio Code code base is open source code under the MIT license. The VS Code product itself is delivered under a standard Microsoft product license because a small portion of it is targeted at Microsoft customizations. Although there is a commercial license, it is free.
The source code of Visual Studio Code seen in Visual Studio Code
Notice that the message (created with information from the Git code base) displays the function author and the most recently changed date. Also notice the "peek" pop-up window of trackSelection () in the middle of the screen.
What is Visual Studio?
Visual Studio (currently Visual Studio 2019) is Microsoft's preferred IDE for Windows and MacOS. With Visual Studio, you can develop, analyze, debug, test, collaborate and deploy software.
On Windows, Visual Studio 2019 currently supports 17 workloads that are consistent tool and component installation packages for different development goals. The workload is an important improvement to the Visual Studio installation process, as the entire download and installation of Visual Studio 2019 is likely to take hours and fill up disks, especially SSD.
Visual Studio 2019 supports 17 different workloads, representing different development goals
The installer for Visual Studio 2019 for Mac is simpler than the Windows version, mainly because it does not support as many targets. It allows you to use .net to develop Web, mobile and desktop, and supports Unity, Azure and Docker by default. The .net Core, Android, iOS, and MacOS goals are optional, and the latter three use Xamarin.
Visual Studio for Mac installer
Note that compared to the 17 workloads offered by Visual Studio for Windows, it has only four optional targets.
There are three kinds of SKU for Visual Studio 2019: community Edition (free, not supported for enterprise use), Professional Edition ($1199 / $799 renewal for first year), and Enterprise Edition ($5999 / $2569 renewal for first year). Enterprise Edition has features for architects, advanced debugging, and testing that the other two SKU do not have.
Visual Studio 2019 Editing UI
Note the menu items for testing and analysis, which Visual Studio Code does not have.
Visual Studio or Visual Studio Code?
You would think that for any particular software development task, making a decision between Visual Studio and Visual Studio Code is as simple as making a decision between IDE and the editor. This is not the case, mainly because VS Code can be configured to be very close to IDE for many programming languages. However, there are many shortcomings that accompany this configurability.
For example, if your development style is test-driven, Visual Studio can be used immediately. On the other hand, VS Code has about 15 test-driven development extensions that support Node.js, Go, .net, and PHP. Similarly, Visual Studio is compatible 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 can use Visual Studio Enterprise Edition, you will want to use Visual Studio. If you need to collaborate, develop, or debug with team members, then Visual Studio is a better choice. If you need to do rigorous code analysis or performance analysis or debug from a snapshot, then Visual Studio Enterprise Edition will help you.
VS Code tends to be popular in the data science community. However, Visual Studio 2019 has a data science workload that provides many features.
Visual Studio cannot run on Linux, VS Code can run. Visual Studio for Windows, on the other hand, has Linux/C + + workload and Azure support.
Which one really boils down to personal preference for the daily development / test / debugging cycle using languages supported in both Visual Studio and VS Code. If you work on a development project for hours at a time, then Visual Studio may be more suitable. If you work on development for a short time and rotate between other tasks, Visual Studio Code may make you more satisfied.
The above is all the contents of the article "how to choose Visual Studio and VS Code". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.