Getting Started with Visual Studio Code : Part 2

Learn how to work with Git repository in Visual Studio Code – an ultra-fast code editor!

In order to start, you need to have a Git Repository at your local machine. You can have it in multiple ways, some are given below.

Install Git Client on your machine if you haven’t already from  git-scm.com/downloads and initialize your project folder with git configuration using “git init” command.

Git init CommandFigure 1 Initialize Folder with “git init

Clone a Git Repository from any Git Repository Provider, be it github, BitBucket, GitLab or any other, they are so many out there.

Git RepositoryFigure 2 Clone Git Repository

Read the complete article here on C# Corner:

http://www.c-sharpcorner.com/UploadFile/370e35/getting-started-with-visual-studio-code-part-2/

(3)

Getting Started With Visual Studio Code: Part 1

Every developer has a lot to gain by using a powerful editor. Auto-complete, fast file switching and the ability to install packages for new technologies are a few of the perks that every developer enjoys utilizing. And you get all these features in Visual Studio Code. It’s lightweight and ultra-fast. It’s a fast editing experience, similar to what you get with brackets, Sublime Text and Atom while it’s debugging and integration experience is similar to what you get with Web Storm or Visual Studio.

Every developer has a lot to gain by using a powerful editor. Auto-complete, fast file switching and the ability to install packages for new technologies are a few of the perks that every developer enjoys utilizing. And you get all these features in Visual Studio Code. It’s lightweight and ultra-fast. It’s a fast editing experience, similar to what you get with brackets, Sublime Text and Atom while it’s debugging and integration experience is similar to what you get with Web Storm or Visual Studio.

Everyone should master the tool that he has inside his toolbox. It helps to use the right tool at the right moment and gain the most from it. In this article I will walk you through what will help you the most when you start using Visual Studio Code and be productive at the meantime.

So, whether it’s a Windows, OSX or Linux, let’s start walking. If you haven’t downloaded Visual Studio Code yet, download and install it from https://code.visualstudio.com.

Language Support

With the language support for 33 Languages Visual Studio Code blows off the following features:

vscode-1

Read the complete article here on C# Corner

http://www.c-sharpcorner.com/uploadfile/370e35/getting-started-with-visual-studio-code-part-1/

(3)

Introducing Visual Studio Code!

VisualStudioCode_1
Installation Begins

A new choice of code editor, Visual Studio Code, where one can build and debug modern web and cloud applications. It is free and available for – Linux (I find this a good reason for mine to give Linux a try as well:)), Mac OSX, and Windows. Visual Studio Code is the first code editor, and first cross-platform development tool – supporting OSX, Linux, and Windows – in the Visual Studio family.

Get yourself started here: https://code.visualstudio.com

 

VisualStudioCode_2
First Start!

 

Here are the features that made me feel like I should switch to it from Sublime Text  as my basic Text Editor:

  • Fast Code Editor
  • Navigation Sidebar
  • Syntax highlighting
  • Always-On Intellisense
  • Code Refactoring
  • Great tooling support for C#, ASP.NET,Node.JS, HTML, CSS, LESS, SASS, and JSON etc.
  • Easy Integration with Package Managers and Repositories (It understands git!)

The editor is composed of a faster version of an HTML-based editor that has powered the “Monaco” cloud editor, Internet Explorer’s F12 Tools, and other projects. So you can just hit F12 and you a full blown Google Chrome kind of Developer Tools that is readily available for you just in case you need to inspect some element of check for any error in console.

VisualStudioCode_DebuggerConsole
Google Chrome like Developer Tools console

 

Nice Find/Replace window:

VisualStudioCode_Awesome_Search_Capability

It also offers you git features when you open a folder with git configuration available or simply, a git repository!

If you like Auto save feature of the code editors, you’re gonna love it 🙂

VisualStudioCode_EnableAutoSave
Offers Auto Save feature!

 

 

VisualStudioCode_Command Pallete
Command palette has all the relevant commands available to use

 

Current Version Info:

VisualStudioCode_Version_Details
Current Version Information!

Beyond that, Intellisense works just great.  Will be sharing more details on usage soon!

(4)