> For the complete documentation index, see [llms.txt](https://igb.mit.edu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://igb.mit.edu/mini-courses/research-computing-on-engaging-with-vscode/vscode/basic-guide.md).

# Basic Guide

When opening VSCode, you'll be greeted with the welcome page.

<figure><img src="https://498238201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWuHhstIreJ3jFvE4gQ3y%2Fuploads%2FDmnXWUO3CyQoQivf7K0S%2FScreenshot%202026-09-17%20at%2011.16.25%E2%80%AFAM.png?alt=media&amp;token=4fab6d26-3289-4097-918f-ed0f291d37e4" alt=""><figcaption><p>VSCode home page</p></figcaption></figure>

From here, you can create a new file, open a folder, clone a git repository, or open recent files. On the left-hand side is the sidebar, which contains the File Explorer tab, Search tab, Source Control tab, Debugger tab, etc.

From the File Explorer tab, you can click "Open Folder" to open a folder on your local computer. All of the files in the folder will become available for you to click and open in VSCode.

<figure><img src="https://498238201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWuHhstIreJ3jFvE4gQ3y%2Fuploads%2FYYMYc6XurqKNMznb9340%2FScreenshot%202026-09-17%20at%2011.53.41%E2%80%AFAM.png?alt=media&amp;token=5b68921c-ae26-4b11-89cf-2ab297b1a75f" alt=""><figcaption><p>Example Python file opened from File Explorer</p></figcaption></figure>

In the menu bar, you can navigate to **Terminal** > **New Terminal** to open a terminal in your opened folder.

<figure><img src="https://498238201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWuHhstIreJ3jFvE4gQ3y%2Fuploads%2FAIgD2P6rxhmwz1MFd9Sr%2FScreenshot%202026-09-17%20at%203.00.48%E2%80%AFPM.png?alt=media&amp;token=0da5a511-ade9-412a-9a84-968735a09f62" alt=""><figcaption></figcaption></figure>

## Command Palette

The command palette is a feature in VSCode that allows you to search through all actions that VSCode makes available to you. If you are ever unsure about what actions you can take in a VSCode window, you can simply search the command palette.

To open the Command Palette, press **Command + Shift + P** on MacOS or **Ctrl + Shift + P** on Windows.

The command palette text input window will open. Input any text to search for a specific command and its keyboard shortcut, if applicable.

For example, here I've highlighted a couple of lines of text, then opened the command palette and searched "comment" to look for all the commands related to code comments.&#x20;

<figure><img src="https://498238201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWuHhstIreJ3jFvE4gQ3y%2Fuploads%2FHgTDEweN2ArNSvzgCjs3%2Fimage.png?alt=media&amp;token=a2d464b5-d2e2-44a6-b433-31a6e44d5004" alt=""><figcaption></figcaption></figure>

If I select "Add Line Comment" and press Enter, VSCode will automatically highlight the lines of text I selected.

<figure><img src="https://498238201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWuHhstIreJ3jFvE4gQ3y%2Fuploads%2Fgr0sGIUQGkA3azv51ZbK%2FScreenshot%202026-09-17%20at%203.16.45%E2%80%AFPM.png?alt=media&amp;token=d9552190-a411-4aee-bd29-ea3b8576fc0f" alt=""><figcaption></figcaption></figure>
