try using Processing (Arduino's sibling environment) and see how easily you can live with clicking on sketches and have the wrong environment come up.
Ah! I see!
I never used Processing in my own projects so far. I assumed it uses another extention. So it is not the case obviously
Is this the same case with Arduino's nephew Wiring?