textmate2

How can I keep deleted files from showing up in TextMate 2 file-browser sidebar?


In Textmate 2, when you rename a file, the new filename shows up in the file-browser sidebar, but the old filename does, too, with a red X. The old filename won't go away until you commit your name change. This has been infuriating me for years. I refactor & rename a lot, and I constantly click on the wrong/deleted filenames during the refactor.

Is there a way to disable this behavior?

I have tried disabling all SCM-related bundles, but that doesn't do the trick.


Solution

  • This is new last week:

    It is possible to set excludeSCMDeleted = true in a .tm_properties file to hide the “ghost” items that appear after deleting a file on disk which is still tracked by your version control system.