Compile only active file in editor

Hi all,

this might be a very obvious question but I’m new to platformIO and I was wondering if there is an easy way to not compile and upload all files in /src, but only the one (and the ones it includes) that I have currently opened and active in the editor (I use the atom variant).

I find myself creating new projects for small troubleshooting scripts which is annoying and probably not intended this way …

thanks for help

ok I figured it out with the src_filter flags. My question now becomes: is there an UI shortcut to this?

Currently we don’t have UI to manage platformio.ini, but we plan to add it soon.