This guide will help you set up Visual Studio Code (VS Code) and configure it to work with your Docker-based build environment.
Before setting up VS Code, ensure the tools (which includes GitHub Desktop and Docker Desktop) and SimulIDE are installed and running, as VS Code depends on it.
VSCodeUserSetup-{version}.exe).Follow the prompts. Important: On the “Select Additional Tasks” screen, check all 4 boxes. The last box says: “Add to PATH (requires shell restart)”.

Visual Studio Code.app into your Applications folder.Cmd+Shift+P), type Shell Command: Install 'code' command in PATH, and press Enter.Quit VS Code if it is open.
Click this link to open -> BareMetal-C Student Profile
Your web browser will open a new page that looks like this:

Click on Create in Visual Studio Code and give permission to your web browser to open Visual Studio Code.

VS Code will open a page like below:

Click Create.
And the next window will pop up. Click Trust Publisher and Install.

This will take a while, and finally, VS Code window will show up.
Click the settings icon (1). Choose Profile (2) and select BareMetal-C Student (3).

Check the gear ⚙ on the bottom left, it will have some characters on it like BA or something else (1). Click File and Open Workspace from File...

and choose this file:
Windows:
C:\Users\NAME\Documents\BareMetal-C\student.code-workspace
macOS:
~/Documents/BareMetal-C/student.code-workspace
When asked Do you trust the authors of the files in this workspace?. Click Yes, I trust the authors.

If things work correctly, you will see:

If it doesn’t look like the screenshot above, click Explorer Icon (1).
Then, check the name at (2). You must see the checkmark (✅) and the robot (🤖). The full thing in (2) must be:
✅ BareMetal-C 🤖
If it does not look like the above, close VS Code and re-open it and see the steps that you may be missing.
Check extension:
Clieck Extensions button (1), and you should see the extension installed. (2)

Double clicking student.code-workspace is the way we start VS Code for this class.
Click Explorer icon to go back to folder explorer. Then right click on code folder:

A context menu opens up, choose BareMetal-C and Build BareMetal-C Projects (All)

A lot of text will be printed in the terminal, but eventually, you should have all projects built. Look for (TIME) ------ built PROJECT_NAME.bin ------- like this:

If you got this far, your installation is successful.
Let’s try clean up. Right click on folder code again, but this time, choose BareMetal-C and Clean BareMetal-C Projects (All) and you should see terminal with the text (TIME) -------- clean successful --------

We will use the right click on a folder to build and clean our programming projects. More instructions later!
Go to test the environment.
Go back to home page