What Is the Visual Studio Code?

Visual Studio Code

In this blog, I will talk about the Visual Studio code. What it is, and what exactly can we do with Visual Studio Code.

VS Code has been designed and created for ease of use with Web and Cloud applications, VS Code developers offer new, fresh access to development and tools, combining ease and speed with editors and intelligent access to IDE. This is the first cross-platform tool in the Visual Studio family, which runs natively on Linux, OS X, and Windows.

VS Code is an open-source, fast and powerful editor for excellent everyday use, providing excellent control over adjustments and great code writing, such as auto-complete, syntax highlighting, bracket matching, embedded and custom snippets. Of course, there is support for many programming languages. For more serious support in the development of applications, there is intellisense with all the great benefits that we have already met in Visual Studio versions. For the moment, the biggest support is for Node.js with TypeScript and JavaScript and ASP.NET 5 with C # programming language. The VS Code is a great fit in your everyday tools you use. Out-of-the-box integration with git source control, as well as, a rich debugging environment for Node.js and ASP.NET web applications. And, you are recent with full support for extensions over the official marketplace.

So let’s go … why did Microsoft create a Visual Studio Code?

For those who do not know, IDE is an Integrated Development Environment. With IDE, there is more or less a clear story about development, after you install IDE and 90% of the things you need to develop applications are in that environment (at least so far). The projects were created through a different wizard, all the adjustments you needed for the IDE worked for you and yours only had to be programmed. One flaw with them is their robustness, so installing Visual Studio with some options and variants can take up to 25 gigabytes.

What characterizes Editors is speed, simplicity, simplicity of organization, support for many programming languages, keyboard control that greatly accelerates work, availability on many platforms, and the integration of other tools through the command line.

While on the other hand, IDE’s benefits are: projects, intelligent code writing, organization, and management through wizards, UI designers, many platform tools you develop, refactoring, debugging.

Throughout this situation, Microsoft has created the Visual Studio Code and put it in place much closer to Editors, but with a lot of things that characterize IDE, it is closer to the editor’s world, its speed and modularity, and the many powerful kinds of stuff taken by IDE. Also, important to note is that, the cross-platform is available on all platforms and is very easy to use.

Visual Studio Code works on a project-based basis and recognizes various project files, has great support for both csproj and json file project files, a very good refactor, intellisense, debugging, the ability to execute tasks via galp and grunt – so that we can build, differently compiling or deploying our applications and of course the support for the git protocol out of the box.

How did Microsoft create a Visual Studio Code?

The VS Code is not made from scratch, but relies on the platform technology created by web technology. Electron is like an open source in Visual Studio and, as such, is available on GitHub. Atom is also based on Electron.

Squirrel is used for a part of the automated stuff and First Mate is to upgrade support in different languages. In case you want to upgrade the language support at VS Code, we do this via a text mate bundle. Electron and VS Code are based on web technologies and have excellent support for cross-platform execution.

Code Editor by VS Code is a Monaco Editor. The Monaco Editor has long been known to those who work on Visual Studio online, where online editing of websites deployed to Azure is enabled. Monaco is also in the Edge search engine as a developer tool and for editing code on OneDrive. So, the technology that has been successfully implemented in these online tools for several years is now an integral part of the Visual Studio Code.

VS Code comes with two default themes and many additional, default is dark and light. VS Code understands project file formats json and csproj, on the left is the view bar, on the left we have the Explore, Search, Git and Debug options. VS Code does not have any windows or dialogs that we make settings, but we use settings.json files in two ways:

  • User Settings
  • Workspace Settings

User settings are used for a global setting, while workspace is a specific setting for the current project we are working on and we also have keyboard shortcut settings. All options and operations in VS Cloud can be accessed through the Command Palette that is available with the CTRL + Shift key combination.

One of the cool features in the editor code is multi-select. In dependencies, if we want the latest version of the package we use, we need to add a tilde character “~”. By combining ALT + LM keys and moving to new rows, note that the cursor is in every previous row that we clicked, and we can edit multiple rows. Similar to the VS that does not have to be in the same line here.

With window organization, we can sort up to 3 windows at one time. We do this with the CTRL + 1/2/3 keys. If we spread one of them to the maximum width by shifting to the other, we notice that these windows also apply the same width for the work.

And last, but most important, VS Code has a very good debugging. Not like that from VS, but a very good debug system is embedded in the VS Code. As in the VS, we have the standard options: Play/Pause, Step Over, Step Into, Step Out, Restart, and Stop. There is an excellent watch box where we can track the state of particular variables or objects in our App.

This is a brief summary of what I’ve written about the Visual Studio code on the following blogs, I’ll write about some examples.

Blog Pictures: Google Search Engine

6 0
Article Categories:

Leave a Reply

Your email address will not be published. Required fields are marked *