BUG REPORT - IDE keeps creating nested folders when you manually save

I found an old issue (for IDE 1.x (!); Why does Arduino save with folder in folder?) and it relates to network drives. Are you using a network drive? Or maybe OneDrive or similar)?

I don't think that I can help further.