You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.8 KiB
Markdown

---
title: VS Code setup
marp: true
paginate: true
math: mathjax
theme: buutti
---
<!-- headingDivider: 3 -->
<!-- class: invert -->
# 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
* ***Note:*** VS Code Unity Debug Extension [has been recently deprecated](https://github.com/Unity-Technologies/vscode-unity-debug/issues/206)
* We don't need the extension on this course, but it's good to know
## VS Code installation
* During installation, check these two options:
![](imgs/vscode-installation.png)
## 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
![](imgs/vscode-settingssync.png)
---
* 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
<!-- _class: "extra invert" -->
* *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
![](imgs/vscode-marp-preview.png)
* GitLens & Git Graph (See [Git basics](1-git-basics))