Visual Studio Code Starter Guide

So you are interested in the new Microsoft Visual Code development product announced in May, but you don’t know where to start? In this article by Tobiah Marks, we get a tutorial on how to use this interesting (and free) product on Windows, Linux, and Macintosh systems.

Installing Visual Studio Code is an arduous process that requires at least 6 hours and a dedicated high speed internet connection.

Just kidding! It’s extremely simple and easy.

All you have to do is go to http://code.visualstudio.com/ and download the app for your platform of choice!

Windows Set Up

Simply run the installation file and wait a few moments. Visual Studio Code will automatically install to C:\Users\username\AppData\Local\Code

You can start Visual Studio Code from the created shortcuts, or simply type code in the console/command prompt to open it to that folder.

Mac OS Set Up

Open the zip, and drag Visual Studio Code.app to the Applications folder.

From there, you can open it from the launchpad. Or, if you’d like to be able to open VSCode from the terminal, append the following to your .bash_profile file:

code () {
    if [[ $# = 0 ]]
    then
        open -a "Visual Studio Code"
    else
        [[ $1 = /* ]] && F="$1" || F="$PWD/${1#./}"
        open -a "Visual Studio Code" --args "$F"
    fi
}

Linux Set Up

Yes, VSCode works on Linux as well! Just extract the zip into the folder you’d like and double-click on Code to run.

If you’d like to be able to open VSCode from the terminal, create the following link substituting /path/to/vscode/Code with the absolute path to the Code executable:

sudo ln -s /path/to/vscode/Code /usr/local/bin/code
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s