Particle Workbench is a robust, local Integrated Development Environment for firmware development and debugging. It provides all of the tools, libraries, and extensions you need for IoT development, and because Workbench built on Visual Studio Code, you get all the features available in the world’s most popular, cross-platform text editor.
In this video, you’ll learn how to use Particle Workbench as your local IDE for Particle projects. Particle Workbench is available for Windows, macOS and Linux, and provides all of the same capabilities as the Particle Web IDE, plus a number of other features that are perfect for Particle power users.
I’ve been using VS Code for everything - and also for Particle dev for many years with this hack.
I’ve been using now Workbench and I must say it’s great work.
One thousand chapeau bas to you @m_m !!!
Nice video Brandon, you almost convinced me to leave the VS Code dark theme behind.
I like it that the video is short and to the point,
Gustavo.
I need to use Visual Studio Work Bench now to start playing around with the Gen 3 Bluetooth features.
I have all my projects in folders that I build in using Particle DEV.
When I open the project folders in Work Bench its all there but when I then open the Particle Tab and choose which device I want to compile for I get this error message saying it’s needing a Project.Properties file?
I assume this is a file that Particle DEV did not need or generate that is generated when starting a new project in Work Bench.
So what do I need to do when loading project folders from Particle DEV into Work Bench to generate this Project.properties file it’s asking for?
Found some instructions @ScruffR had posted for somebody else which showed me how to create a new project.
What I'm seeing is that your folder path cannot have any whitespace or blank spaces or it will not work. My folder path to all my projects had some whitespace so I had to erase the whitespace for them to work in Workbench.
So I can create a new blank project inside my current project folder that holds the code I want to use and then Workbench creates the project properties file which it is asking for. Then I copy the project code into the new project folder Workbench Created and were all good to go!
i don’t recall the exact setting but i’m pretty sure you’ll find it if you open preferences - from the main menu click “Code” (or “File” on windows) > “Preferences” to open the settings editor. from there you can click the “{}” icon top-right to toggle between editor and raw JSON views. raw JSON is a bit easier since it’ll just include your edits (vs. the editor which shows everything). check each level of settings - “User”, “Workspace”, and if applicable “Folder” - via the links top-left below the search bar.