Hi,
I use the 'Open Recent' menu a lot (actually I have a plugin that modifies the 'Open Recent' menu of TextMate, Xcode and some others to retain 50 files instead of just 10).
Seems TextMate has a bug though: The 'Open Recent' menu only contains files that were opened AND SAVED with TextMate. If I just open a file, look at it, then close it, TextMate's 'Open Recent' menu will NOT contain the file.
TextEdit's 'Open Recent' menu will also list files that just have been 'viewed'.
Gerd
On 14/09/2005, at 23.08, Gerd Knops wrote:
Seems TextMate has a bug though: The 'Open Recent' menu only contains files that were opened AND SAVED with TextMate. If I just open a file, look at it, then close it, TextMate's 'Open Recent' menu will NOT contain the file.
It does list the file if you open it using the Open dialog (or double click/drag to TM). But if you use the 'tm' tool it will deliberately skip it, since it's assumed that you will (in the future) open the file using that tool (again) rather than use the UI.
It does list the file if you open it using the Open dialog (or double click/drag to TM). But if you use the 'tm' tool it will deliberately skip it, since it's assumed that you will (in the future) open the file using that tool (again) rather than use the UI.
If you want files opened from the shell to remain on that list, use:
open -a TextMate filename
(You might want to alias that to something simpler)
On Wed, Sep 14, at 4:56 PM, Caio Chassot wrote:
It does list the file if you open it using the Open dialog (or double click/drag to TM). But if you use the 'tm' tool it will deliberately skip it, since it's assumed that you will (in the future) open the file using that tool (again) rather than use the UI.
If you want files opened from the shell to remain on that list, use:
open -a TextMate filename
(You might want to alias that to something simpler)
Thanks, that clears that up!
Gerd
On 15/09/2005, at 0.26, Gerd Knops wrote:
If you want files opened from the shell to remain on that list, use: open -a TextMate filename [...]
Thanks, that clears that up!
Just for the records, I now made it more consistent:
Stuff you open via tm, txmt://-URL scheme or ODB will never go into the recent menu, even when you save. The same goes for files part of a project.
Files you open via the dialog, dragging, double-clicking, or open command will go into the recent menu, including (new) folders (been requested a few times)!
On Wed, Sep 14, at 5:42 PM, Allan Odgaard wrote:
On 15/09/2005, at 0.26, Gerd Knops wrote:
If you want files opened from the shell to remain on that list, use: open -a TextMate filename [...]
Thanks, that clears that up!
Just for the records, I now made it more consistent:
Stuff you open via tm, txmt://-URL scheme or ODB will never go into the recent menu, even when you save. The same goes for files part of a project.
Files you open via the dialog, dragging, double-clicking, or open command will go into the recent menu, including (new) folders (been requested a few times)!
How about a flag for tm? Or is there some trick to use the open command and still specify a line number?
On 15/09/2005, at 1.23, Gerd Knops wrote:
Stuff you open via tm, txmt://-URL scheme or ODB will never go into the recent menu, even when you save. The same goes for files part of a project.
Files you open via the dialog, dragging, double-clicking, or open command will go into the recent menu, including (new) folders (been requested a few times)!
How about a flag for tm? Or is there some trick to use the open command and still specify a line number?
No trick -- I can add a flag to tm.