I’m not sure if this is a CLion issue or PIO.
After starting a new project in CLion I’m trying to add source files. First I copied files from another project but got the message that they don’t belong in any project. I thought maybe they needed to be created by CLion to be added to the project but deleting a file and creating a new one doesn’t help.
I’m realizing now that I can build the file just fine so the PIO project is most likely fine but not parsed correctly by CLion.
Mostly it works great actually, I can still go to declarations and stuff. What doesn’t work is formatting the code, auto-complete and other nice features.
I’d appreciate any tips. If there’s no PIO issue I’ll post this as a CLion bug.