Just a suggestion based on a weird experience I had:
I was doing several things at once, and ended up getting compiler errors about Mesh not being defined in this scope.
After an embarsssingly long time trying to figure out how I broke that, turned out my not so clever re-use of some tabs had a Photon selected as destination (because I’d recently updated the photon) and it gave the error because the Photon has no concept of that.
All is well and solved, but it might save someone else a lot of confusion if in this instance there was a warning before the compiler’s unhelpful vomit that basically said “Hey? This has mesh code calls but you’re trying to flash a photon. You sure about that?” So that they could more quickly realize their mistake and not think they broke core firmware features Like many things, it’s a 2-second duh fix once you’re aware of the problem.
Just an idea, from a less sophisticated user who still loves the web IDE (trying the Code plugin, I swear!)