TECHNICAL BLOG

Why VS Code when we have Microsoft Visual Studio?

I was quite surprised to see that there is something Visual studio Code Microsoft has released because I have worked with Visual studio since 1997 which I believe is one of the best IDE and of Couse a complete IDE in market. Why Visual studio code when we Microsoft has Visual Studio already in place, On the very first Instant I thought it might be light weight Visual studio. Visual Studio and Visual Studio Code are two different things. Visual Studio is an integrated development environment (IDE) and Visual Studio Code is light weight IDE with some small features of visual studio, or we can say Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running, and version control for multiple languages and all operating systems including Linux What is Visual Studio? Visual Studio was first released in 1997 by Microsoft. It's an integrated development environment (IDE) for developing, editing, and debugging websites, web, and mobile applications as well as cloud services. I believe any damn application Visual Studio comes with built-in support for C#, VB.NET and .NET. It also supports other programming languages like C, C++, Python, F#, web languages (HTML, CSS, JavaScript, TypeScript, React, Nodejs.), and a lot more. Visual Studio runs on Windows and Mac. It has 3 editions

Community
Professional
Enterprise

The community version is free, while the professional and enterprise are not. It needs good bit of storage space locally in your system ...yah, you still can customize it by choosing only required components to reduce installation time and save local storage space.

What is Visual Studio Code?

Visual Studio Code (also called VS Code) is like the light version of Visual Studio. It is an open-source and lightweight text editor available on Windows, Mac, and Linux. VS Code comes with built-in support for JavaScript, TypeScript and Node JS, but you can use it to code in any language you want. All you need to do is download the relevant extensions..
Some of the extensions are made by Microsoft, but a lot of others are third-party extensions. You can see extensions popping up on left side panel Unlike Visual Studio, you don’t need much space to download VS Code. You might not need more than 250 MB of disk space to download it. Since it supports JavaScript, TypeScript, and Node JS by default, you get a debugger and intelligence, too. But to get IntelliSense, a compiler, and debuggers for other languages, you have to download relevant extensions. Now you know that Visual Studio is an IDE and Visual Studio Code is a text editor. So let's summarize their main differences next.

What is the Difference between Visual Studio and Visual Studio Code?

BasisVisual StudioVisual Studio Code
TypeVisual Studio is a full-fledged IDEVS Code is a text editor witd some basic capability of debugging, connecting to services
PlatformVisual Studio runs on Windows and MacVS Code runs on Windows, Mac, and Linux
SizeVisual Studio is relatively large. VS Code is a small download less than 200 MB and has a disk footprint of less than 500 MB
SupportVisual Studio has built in support for C# and .NET, alongside several common languages VS Code supports JavaScript, Typescript, and Node JS out of the box. It also supports other programming languages – as long as there’s an extension(s) for that
ExtensionsVisual Studio does not have as many extensions as VS CodeVS Code has numerous professionally and curated extensions for various purposes

What is Not supported by VS Code?

VS Code does not support application virtualization solutions such as Microsoft App-V or MSIX for Windows, or third-party app virtualization technologies. Running VS Code in a virtual machine environment requires a full operating system.
VS Code does not support multiple simultaneous users using the software on the same machine, including shared virtual desktop infrastructure machines or a pooled Windows/Linux Virtual Desktop host pool.
Running the full VS Code in Windows/Linux containers is not supported but running with the Dev Containers extension is supported. When using the Dev Containers extension, the VS Code server is running in the container while the VS Code client is on the desktop

Which should you Choose between Visual Studio and Visual Studio Code ?

There has been a long-running debate about which is better and which to choose between Visual Studio and Visual Studio Code. Well, it depends on what you are doing..
If you’re developing exclusively with a language supported by Visual Studio such as C#, C, C++, Python, and others, Visual Studio or other relevant IDEs are likely the best option for you..
But even if you’re developing in those languages but you require a React, Vue, or Angular frontend, VS code might be the best option for you..
If you’re working in a team, they might provide you with the enterprise version of Visual Studio, or any other IDE that correlates with the language you are working with. For example, PyCharm for Python and IntelliJ Idea for Java..
If you’re using Linux, you have to choose Visual Studio Code or some other IDE apart from Visual Studio. That’s because Visual Studio does not run on Linux..
If you’re the kind of person that likes to customize your editor to your taste, just go for VS Code because it's highly customizable. You also should probably choose VS Code if you are mixing technologies.

Conclusion

This article showed you the differences between Visual Studio and VS Codei hope this will help you in choosing right IDE while developing software Applications

The perfect choice for Entrepreneur, business advisor and corporates.