Actions

EmSys

Using Visual Studio Code for ARM Development – Workspace and Project(s)

From EdWiki

Revision as of 14:39, 23 March 2022 by Jshankar (Talk | contribs) (Workspace and Project(s))

Workspace and Project(s)

Similar to other IDEs, Visual Studio Code is using the concept of a ‘workspace’. In simple words, a workspace is a collection of Folders open in the IDE. See https://code.visualstudio.com/docs/editor/workspaces for more details. In the most simple case a workspace just contains a folder which is the folder for the project. So all what we need is a add a folder.

Vscode add folder.png


Use menu File > Add Folder to Workspace …


Vscode menu add folder workspace.png


Browse to an existing new (empty) folder or simply create one from the dialog:

Vscode add blinky folder.png


Add a new file: main.c


Vscode add new file.png


Implement the main function, then save it (CTRL+S)