Skip to content

thelastoutpostworkshop/arduino-maker-workshop

Repository files navigation

Arduino Maker Workshop

The ultimate tool for makers to bring Arduino projects to life in Visual Studio Code.

Currently supported on Windows x64 and MacOS ARM64/Intel and Linux x64, help needed for for other platforms

Microcontrollers Platforms

All the platforms supported by the Arduino CLI (the CLI is included in this extension).

Tutorial : Get Started

Settings

  • You can set the user directory, equivalent of the Arduino IDE's 'sketchbook' directory. Library Manager installations are made to the libraries subdirectory of the user directory
  • You can change the Arduino CLI used (not recommended) instead of using the built-in Arduino CLI (recommended)

Arduino Code Snippets : Documentation

new sketch

New Sketch

Make sure you have a workspace open.

new sketch

Board Selection

new sketch

Board Configuration

new sketch

Boards Manager

new sketch

Library Manager

new sketch

Library Example

new sketch

About IntelliSense

IntelliSense data (c_cpp_properties.json) is generated after each successful compile.
For a new project, IntelliSense mark almost everything as "undefined" until you make your first good compile. IntelliSense is generated based on the arduino-cli build outputs.

Troobleshooting

If you get this error message:

No workspace available, open a workspace by using the File > Open Folder... menu, and then selecting a folder

It means you must open a workspace in Visual Studio Code, see the official documentation.

Contributors

Contributors are welcomed! Take a look at the project to see features to be implemented or bugs to be fixed

If you want to submit pull requests, here is how you can do it.

Extension Development Install the dependancies:

  • run npm install in the main folder of the extension
  • run npm install in the webview folder

Testing

  • Use npm run watch in the main folder to debug the extension in Visual Studio Code
  • If you modify the webview, you must build it before testing the extension with the command npm run build
  • You can test the webview in standalone mode using the command npm run dev, (in the webview folder). In development the webview uses mock files to simulate call to the Arduino CLI.

About

The ultimate tool for makers to bring Arduino projects to life in Visual Studio Code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages