OTOH, VS Code has a much more general focus, so it doesn't fare so well compared in .NET ecosystem against Visual Studio. And for what scenarios would you swap? Visual Studio is designed for working with large projects - but its power can be overkill for programs that only involve a small number of files. VS Code might be better for these cases.
Visual Studio is a full-fledged IDE, comparable to Eclipse, Xcode, etc., an integrated app that handles the writing of code plus other functions like debugging and compilation. VS Code is not a full IDE, and started out as a code focused text editor, and is mostly still that with some extras like debugging (with the right extension installed).
Visual Studio is a heavy duty IDE, usefull for big code bases and large projects. It's best to use VS Code and become a better programmer, then you can switch for heavier projects
VS Code is lighter, faster, much more customizable than Visual Studios, and it's also open source and can be used on Windows/macOS/Linux. Visual Studios is a complete IDE and has everything you could possibly need, but most of us aren't going to use everything you can do in Visual Studio, so you can shrink the install size down by using VS Code and also customize it to how you use it.
So Visual Studio and Visual Studio Code are both maintained under Microsoft. Visual Studio is a heavier application with well maintained modules like Unity development. You can also add extension plug-ins. As an example, I'm a fan of JetBrains and have their extensions in Visual Studio. Visual Studio Code is a newer IDE created in 2015 and is much lighter than VS. What VSC doesn't have going ...
For debugging visual studio is so advanced and work so great. Resharper or visual studio offers more features or features that work better for refactoring code, unit testing, performance analysis.
For WPF, definitely use Visual Studio. VSCode doesn't have the scaffolding, graphical editor and live reload afaik. In general, I prefer Visual Studio for larger projects. It supports project solutions, has very good intellisense and advanced debugging and profiling options. VSCode is nice because it is multiplatform.
However, configuring Visual Studio Code to compile, run and debug C++ code is much more of a faff than just downloading Visual Studio, and it offers a subpar experience in comparison. Unless a C++ beginner has a compelling reason to use VS Code over VS, VS should be the first and foremost choice.
I've been using github copilot for a while now in both vs code and inside visual studio 2022 community edition and i'ts becoming more and more obvious that copilot is way more accurate in vs code vs visual studio. has anyone else noticed this?
VS Code is a highly extensible text editor that was designed with programming in mind. There is pretty good support for C# within it, and it will be a lot more fun than trying to use Notepad. You can even teach it how to compile and debug some kinds of C# projects. Visual Studio is like all of that but tries harder to do everything for you.