Visual Studio Code as Interactive Learning Environment
Published May 21 2020 12:51 AM 4,069 Views
Microsoft

Visual Studio Code is a source code editor developed  by Microsoft for Windows, Linux and MacOS Visual Studio Code is customizable, users can change the editor's theme, keyboard shortcuts, and preferences. Visual Studio code is a lightweight editor that has all the features you will find in IDEs. Instead of just being a text you have an embedded terminal, you have Git integration, you have color coding, you have all the features you expect from an editor. The benefit of using something like visual studio code is that you learn good coding practices while you are using the editor.


Visual studio code also a has a huge ecosystem of 1st party and 3rd party extensions that help you become a better developer. Visual Studio code its very extensible. You can build Visual Studio extensions and release them in the visual studio marketplace for other developers to use. 


If your interested in developing an extension you can use Typescript, Html, CSS to make the extension and make the editor specific to you. The greatest thing about it is that is Open sourced and based on several open source projects, so it’s a combined effort from the community to build a lightweight editor that gives you comprehensive feature set. Visual Studio code is highly configurable with different themes, font and a its great to see users making their editors individual to them by just tweaking a few things. So I want to focus on two new Visual Studio MarketPlace extensions  GistPad and Code Tour.

What is Gist 

So a Gist allows you to store code snippets without having to create a full fledged repository on GitHub, Gists are great for quickly sharing pieces of code with other or demonstrating techniques and solution that don't need a full repo.  Gists function like a repo in a lot of ways you can fork them clone them and you can view workflow on a single Gist in a simple way. You can create Gists on http://gists.github.com  and you can have public or private Gists, all public gists can be found by anyone on the discover page. 

What is GistPad

Gistpad is a Visual Studio Code extension which has been developed to simply allow you to manage Gists from with the editor. You can open, create, delete, fork and star and even clone Gists and seamlessly begin editing files, sharing code snippets or working with others. 

 

What is CodeTour

CodeTour is another Visual Studio Code extension, code tour allows you to record and playback guided walkthroughs of your codebases.  A "code tour" is simply a series of interactive steps, each of which are associated with a specific directory, or file/line, and include a description of the respective code the code store is created as JSON file which is a associated to your code base.

 

A Code base with a code tour included allows developers to clone a repo, and then immediately start learning, and interacting with the code. Tours can either be checked into a repo, to enable sharing with other contributors, or exported to a "tour file", which allows anyone to replay the same tour, without having to clone any code. So Code tours could be a interesting solution for a tutorials or project work where you want to show others specific aspects of your code. 

 

Demo Video 

 

Love to know what you think about these tools and if they could help within your classes, labs or tutorials?

For a more detailed overview of code tour see the previous blog https://techcommunity.microsoft.com/t5/educator-developer-blog/codetour-vscode-extension-allows-you-...

 

Version history
Last update:
‎May 21 2020 01:47 AM
Updated by: