I’m developing code for an ESP8266 (NodeMCU ESP-12E)
For the most part I think I’m getting the hang of using PlatformIO within VS Code. One part still escapes me. A couple days ago after working on one project in an unnamed workspace I created a new project, added some code and built and downloaded it. I was pleased to see it was performing well until I realized it was the behavior of the other project in the workspace. I could not figure out how to switch to the new project except by closing the workspace (which seems drastic) and reopening the new project.
Tonight I imported one example, built and ran it and it worked fine. Then I imported another example, built and ran. I wanted to build the first example but cannot see how to do that. (Except by closing the workspace and reopening the first project.)
I’m pretty sure I’m doing it wrong. I’ve been using VS Code for a while now but either doing it with scripting languages like Python and just running from a terminal or using cmake
outside VS Code to build C/C++ executables. I’m probably not taking full advantage of VS Code.
My PlatformIO projects are generally not related. How should I be managing them so I don’t feel like I’m working at cross purposes with PlatformIO?
Thanks!