Chaps,
The essay question I have is this:
"It would be great to save regexes from the find & replace dialog. Discuss."
;-)
I have a number of projects running from the same codebase, and whilst there's a basic framework that's mirrored across all of them (via a hard linked directory) I'm finding myself wanting to use the same find & replace fixes across them all.
I've tried a creating a super-project, which does work, but is cumbersome (it's slow, and you have to be careful with mercurial and with saving updates to the referenced framework).
What would be really nice would be the ability to save find & replace regexes as matching pairs.
As an aside - 10 regexes aren't really enough in the dialog either ;-) is there a way of upping them?
Happy new year,
R
-- Richard Dyce MA (Cantab.) MBCS MIET
On 2 Jan 2009, at 15:24, Richard Dyce wrote:
The essay question I have is this:
"It would be great to save regexes from the find & replace dialog. Discuss."
Indirectly you can do this by recording a macro, then run your Replace All [in Selection] and you have a macro performing just that replacement (you can save it and either give it a key equivalent or a meaningful name so you can easily recall it via ⌃⌘T).
[...] As an aside - 10 regexes aren't really enough in the dialog either ;-) is there a way of upping them?
Currently not, no. There will be find clipboard history mimicking current clipboard history in next major update (should be out in 2009 but that’s the closest I’ll get to an ETA :) ), so it’s an area that will be improved.
Did Allan just drop a hint about tm 2 or is 1.6 considered a major update?
Also, I forgot that you could have complete find/replace things in macros, so thanks for indirectly answering a question I just had!
On Mon, Jan 5, 2009 at 7:18 PM, Allan Odgaard mailinglist@textmate.org wrote:
On 2 Jan 2009, at 15:24, Richard Dyce wrote:
The essay question I have is this:
"It would be great to save regexes from the find & replace dialog. Discuss."
Indirectly you can do this by recording a macro, then run your Replace All [in Selection] and you have a macro performing just that replacement (you can save it and either give it a key equivalent or a meaningful name so you can easily recall it via ⌃⌘T).
[...] As an aside - 10 regexes aren't really enough in the dialog either ;-) is there a way of upping them?
Currently not, no. There will be find clipboard history mimicking current clipboard history in next major update (should be out in 2009 but that's the closest I'll get to an ETA :) ), so it's an area that will be improved.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate