

In the video below, let's go through some of the nice features of Visual Studio Code. The nice thing with Visual Studio Code is that it can be enhanced with extensions from the Microsoft Marketplace.

In 2015, Microsoft introduced their light-weight code editor, Visual Studio Code for both Windows and Macintosh environments. Visual Studio Code: a smarter code editor In File Explorer, locate the HelloWorld directoryĭouble-click on HelloWorld.exe located in \HelloWorld\bin\Release Run the following command: msbuild "C:\\HelloWorld\HelloWorld.sln" /p:Configuration=Release /p:Platform="Any CPU" NET Coding Environment With Visual Studioįinally click the following link to gain access to this course’s exercise: Improve your code experience with a code editorĮven though we're using a code editor instead of a text editor, we still have to follow the same process in compiling, testing, and running the application. Follow the same steps from the last chapter:Ĭhange the directory to the following: cd C:\Windows\Microsoft.NET\Framework\v4* In order to access the exercise, be sure to:Ĭreate or connect to your Replit account (it’s free!),Ĭlick the following link to gain access to this team's course: Set Up Your.

In this course, you’ll be putting what you learn into practice in an interactive code sandbox on Replit.

You will notice that the editor has added line-numbers along with color-coding for the methods, properties, and values for better readability. In the following code example, we will open the Program.cs file from the last chapter into a code editor. Besides the ability to change fonts and colors, it also provides simple code completion and indentation based on the selected programming language (i.e., C#, C++, Java). With a code editor, you'll have more control over the formatting of your code for better readability. But, as with any text editor, you can only enter text, make indentations, and change font size. In the last chapter, we went through an example of writing code in Notepad, a standard text editor for Windows.
