In the File Browser sidebar when I open a "project" (a directory), TextMate always shows the same state where some directories are expanded (to multiple levels) and others are not. Is there any rhyme or reason about why TextMate remembers this particular state?
It's a bother to have to close things up each time I open a project.
I would even be happy with the File Browser starting with no directories open.
I've tried doing
defaults write com.macromates.TextMate.preview disableFolderStateRestore -bool YES
but that seems to have no effect.
I've tried opening or closing some "tabs" (open files) and then closing the project. That has no effect.
I'm on Mac OS X 10.11.4. TextMate version 2.0-beta.9.
BTW, after recently upgrading to the above version of TextMate (from previous beta version), the problem was solved for a while, but now it is happening again.
Thanks, --ErikN
In the File Browser sidebar when I open a "project" (a directory), TextMate always shows the same state where some directories are expanded (to multiple levels) and others are not. Is there any rhyme or reason about why TextMate remembers this particular state?
You can use option+click on the opened root folders' arrows to close them with all their inner levels.
Thanks for the tip on option+click, that's helpful.
However, this problem is kind of driving me nuts. I can't figure out how TextMate determines the state of the folders in the File Browser. It now never seems to change regardless of any actions I do. Yet it somehow decided to remember one particular (and somewhat unusual) state.
--ErikN
On Mon, Apr 18, 2016 at 2:21 AM, Igor K me@igorkozlov.me wrote:
In the File Browser sidebar when I open a "project" (a directory),
TextMate always shows the same state where some directories are expanded (to multiple levels) and others are not. Is there any rhyme or reason about why TextMate remembers this particular state?
You can use option+click on the opened root folders' arrows to close them with all their inner levels.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Finder and PathFinder also do the same
Its a bit of a long-shot, but since nobody else has replied, I wonder if its something thats stored in .DS_Store metadata for that directory? OSX dumps these everywhere, try deleting any in your project folder and see what happens
On 18 April 2016 at 17:10, Erik Neumann erikn@myphysicslab.com wrote:
Thanks for the tip on option+click, that's helpful.
However, this problem is kind of driving me nuts. I can't figure out how TextMate determines the state of the folders in the File Browser. It now never seems to change regardless of any actions I do. Yet it somehow decided to remember one particular (and somewhat unusual) state.
--ErikN
On Mon, Apr 18, 2016 at 2:21 AM, Igor K me@igorkozlov.me wrote:
In the File Browser sidebar when I open a "project" (a directory),
TextMate always shows the same state where some directories are expanded (to multiple levels) and others are not. Is there any rhyme or reason about why TextMate remembers this particular state?
You can use option+click on the opened root folders' arrows to close them with all their inner levels.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
After trying various things I've managed to change the state of open/closed folders. Here is what I tried:
1. delete the .DS_Store files (in the directory being opened or it's parent or the children). And close projects in TextMate and quit TextMate and restart.
2. Open the directories in Finder using List view; toggle the directories to open/close them.
I don't know which of these was actually effective.
There is also the Finder> View Menu > Show View Options dialog which has settings that might be relevant.
On Mon, May 2, 2016 at 5:53 PM, Carpii UK carpii.uk@gmail.com wrote:
Finder and PathFinder also do the same
Its a bit of a long-shot, but since nobody else has replied, I wonder if its something thats stored in .DS_Store metadata for that directory? OSX dumps these everywhere, try deleting any in your project folder and see what happens
On 18 April 2016 at 17:10, Erik Neumann erikn@myphysicslab.com wrote:
Thanks for the tip on option+click, that's helpful.
However, this problem is kind of driving me nuts. I can't figure out how TextMate determines the state of the folders in the File Browser. It now never seems to change regardless of any actions I do. Yet it somehow decided to remember one particular (and somewhat unusual) state.
--ErikN
On Mon, Apr 18, 2016 at 2:21 AM, Igor K me@igorkozlov.me wrote:
In the File Browser sidebar when I open a "project" (a directory),
TextMate always shows the same state where some directories are expanded (to multiple levels) and others are not. Is there any rhyme or reason about why TextMate remembers this particular state?
You can use option+click on the opened root folders' arrows to close them with all their inner levels.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 3 May 2016, at 19:26, Erik Neumann wrote:
After trying various things I've managed to change the state of open/closed folders. Here is what I tried:
Sorry for my late reply, I wanted to make some changes to the involved code before replying, but have not gotten around to this yet, but anyway…
The expanded folders are stored in TextMate’s “settings”. So if you quit TextMate, you can see which folders should be expanded (during next launch) by running this in a terminal:
defaults read com.macromates.TextMate.preview ExpandedURLs
You can also remove all expanded folders by changing `read` to `delete`.
The way it should work is that when you close a window, it “snapshots” which folders were expanded in this window. It should forget all expanded folders which are descendents of the open project, if they are not visible, when you close the project. But this is the part I wanted to check up on.