I'm trying to organise a very complicated project and I want to put all the actual code in a folder named `src` (source), but I want to keep the main `.ino` file as `main.ino` (it will also be in `src`). Then when I try to open the code, the IDE says that `main.ino` has to be in a folder named `main`.

**Why is this?**

I fully understand the error message, but why does the file naming in Arduino has to be so. Is there a way to change that?