One of the most attractive features of TM is the Go To File (CMD+T) feature.
1) But I wonder, is there any way to tell TM that you do not want to demote files in the list, which are already open?
Example, if tabset.js is already open, and I CMD+T to navigate to tabset.js, but it has been demoted right to the bottom. This makes sense if you only have a few tabs opens, but mostly I do not care if its already open, I just want to jump to it regardless (but end up accidentally opening some other file instead).
2) I also notice that the list shows the directory each file is in, but this is only shown after the full list has been populated. Is there a reason for this? In this example I have lots of gearman scripts (worker.php and client.php), and so to open one I have to wait until it shows all the directory paths before I can see which one I actually want.
On 19 May 2014, at 0:40, Carpii UK wrote:
- But I wonder, is there any way to tell TM that you do not want to
demote files in the list, which are already open?
The files are sorted by last recently used. So all your open tabs (or recently closed) should be near the top.
Is that not the case for you?
- I also notice that the list shows the directory each file is in,
but this is only shown after the full list has been populated. Is there a reason for this?
The disambiguation result is not guaranteed to be correct before we have all the files, and since it’s not free to run this algorithm (repeatedly, each time new files are seen), I delay it until we have the full set.
What could be done is to initially show a single ancestor, so it would generally be disambiguated during scan, and when scan finishes, it would remove the component if it turns out to be unnecessary. Though I fear it would cause a bit of “flicker” for small sets/fast disks.
An alternative is to move to a multi-line display with the full path on the second line. It would take up more space for each item, so less items shown, which is the downside, but as the relevant files should be near the top, it might not be too big of a loss.
The files are sorted by last recently used. So all your open tabs (or recently closed) should be near the top.
Is that not the case for you?
You're right. Im not sure what I thinking at the time, sorry.
It seems open files are not automatically demoted like I thought Its just the currently selected tab which is demoted