DEV Community

Cover image for Is your TextMate 2 folding corrupt?
Mike Whitaker
Mike Whitaker

Posted on

Is your TextMate 2 folding corrupt?

Having trouble with corrupted/misplaced fold markers in a TextMate 2 file? Has something changed the file under TextMate 2's feet while you have it open with some folds closed? (not looking at anyone in particular, Claude Code :D)

Simple solution:

  • close the file in TextMate 2
  • open Terminal
  • run the following: xattr -d com.macromates.folded <your filename here>
  • reopen the file in TextMate 2

Presto. Problem solved.

Top comments (0)