Not Your Dad's IT

Updated Solutions to Classic Challenges

A personal website dedicated to helping IT professionals review where we've been, where we are, and maybe where we are headed.

  • Blog
  • About
  • Disclaimer

How To: Install Microsoft Visual Studio Code on Mac OS

August 11, 2018 by Nathaniel Avery in Install

Visual Studio Code is one of my favorite editors, and it works on any platform. The MacOS install is pretty easy. That said, I’ve found a few things that can make it easier. This post has a few tips and videos to help anyone looking to install it for the first time.

Read More
August 11, 2018 /Nathaniel Avery
Visual Studio Code, Mac
Install
Comment
VSCode_Logo_01.PNG

CheatSheet - Setup Github on Visual Studio Code

April 03, 2018 by Nathaniel Avery in Install, Tip

I usually access github from within Visual Studio Code.  As such, when I start coding a new project, I often need a reminder, or a cheat sheet for how to connect Visual Studio Code to a Git repository.  These notes are more for me than for anyone else, but I'm sharing them nonetheless.

Steps:

  1. Create a directory on the local file system.
  2. Create a repo on Github.
  3. Select Clone "Clone or download" on Github, copy the link
  4. In Visual Studio Code, sect File -> Add Folder to Workspace -> Select the newly created directory
  5. Select Terminal Window
  6. In the window, type:
git config --global user.name <github userID>

git clone <URL from github link copied earlier>

That should be all that's required.  any newly created file should be available on github after stage/commit/push.

 

 

 

 

April 03, 2018 /Nathaniel Avery
Visual Studio Code, github
Install, Tip
21 Comments

Visual Studio Code Error - "There are no active source control providers"

March 27, 2018 by Nathaniel Avery in Bugs, Tip

This blog post details steps to resolve the "There are no active source control providers" in Visual Studio Code on Windows 10.

Read More
March 27, 2018 /Nathaniel Avery
Visual Studio Code, Git
Bugs, Tip
6 Comments
vs_code_and_CentOS_v1.png

Installing Microsoft Visual Studio Code on CentOS 7

February 27, 2018 by Nathaniel Avery in Install

Microsoft has recently released several cross-platform tools for managing code and databases.  It's possible that these tools either would not have been developed previously, or would have been made available exclusively for Windows.  But as they say, the times are changing.  Microsoft's CEO Satya Nadella has promised a new Microsoft, and here it is.

Visual Studio Code is a tool which represents this "new" Microsoft.  It's open source, it's free, and it can be used on Windows, MacOS, and Linux OSes.  Moreover, there is extensive context sensitive support of multiple programming languages - even non-MS languages.  VS Code is a very modern editor offering built-in support of get, modular extensions, and it also offers "IntelliSense," a feature that "provides smart completions based on variable types, function definitions, and imported modules."

Installation of VS code on Windows is pretty straight forward, so I decided to try the process on a recent distribution of CentOS 7.  Specifically, I used the CentOS OS below.

CentOS_VS_Code_06.PNG

 

The installation Instructions for Fedora and RHEL variants can be found here: https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions

Step 1. Install the correct keys for the MS repo

CentOS_VS_Code_01.PNG

 

Step 2.  Install VS Code.  Answer "y" if there are needed dependencies.

CentOS_VS_Code_02.PNG
CentOS_VS_Code_03.PNG

That's it!  VS Code is ready to execute.  It is not recommended to run VS Code with elevated permissions, so sudo is not needed.  Once running, you may discover that you need to also install Git if it isn't already installed.

CentOS_VS_Code_04.PNG
CentOS_VS_Code_05.PNG

 

 

February 27, 2018 /Nathaniel Avery
Visual Studio Code, CentOS
Install
4 Comments

Powered by Squarespace