VS Code setup

What is Visual Studio Code?

  • VS Code (or just VSC) is a popular open source text editor / IDE (integrated development environment) by Microsoft
  • Very extensible by extensions
  • Has many language-specific features like Omnisharp for C#

Visual Studio Code is not Visual Studio

  • Visual Studio is an older, bulkier IDE, also by Microsoft
    • it has more features!
  • Visual Studio Code is quite new, relatively lightweight
    • originally scarce in features
    • more popular in web development
  • Both are used for Unity development
  • We'll be using VS Code on this course

VS Code installation

  • During installation, check these two options:

Logging into VS Code

  • You can log in with your GitHub account to VS Code in the Accounts tab
  • Then, by turning on Settings sync, your user-defined settings are carried over to whichever computer you're working on
  • Open the project folder in VS Code
    • Either by opening the folder from File Explorer context menu (Open with Code)
    • Or in VS Code File > Open Folder...

Extra: Other extensions

  • Marp for VS Code
    • If you want to read these slides inside VS Code

    • After installation, open this .md file from the course repository

    • Click the Open preview to the side button

  • GitLens & Git Graph (See Git basics)