Get code structured using tabs...

krupski:
Why do you want to do that?

Because it allows you to quickly navigate the code instead of needing to scroll through hundreds of lines every time you need to find something.

krupski:
It seems like splitting up your code into so many different files will do nothing but create a testing and debugging nightmare.

Why would it do that? The Arduino IDE just concatenates all the .ino files together before compiling so to the compiler it's no different from your thousands of lines of nightmare monolithic .ino file.

For work, I once bought and ported a large software package that put every function in a separate file.
It was *beautiful. * Probably the most successfully portable package/library/whatever that I've ever worked with (including things I've written myself.) This was before things like -gc-sections existed, so there was more than one reason to do it that way, and I think it was a little excessive. But it was consistent and it worked!