[TextMate] Feature Request

Chris Thomas chris at cjack.com
Tue Oct 12 03:28:59 UTC 2004


On Oct 11, 2004, at 6:50 PM, Justin French wrote:

> On 12/10/2004, at 10:18 AM, Eric Curtis wrote:
>
>> I have been letting this subject percolate for a few days in my head 
>> and I just can not think of another workaround that would approach 
>> any reasonable level of efficiency (I would love to hear some 
>> though). I could make a macro and have it tab stop at the name, 
>> width, height and alt however I am not going to know the width and 
>> height in 99% of the cases. I personally would also like to have it 
>> automatically add the file name without the extension as the alt tag 
>> though some might argue that this will promote poor coding practices, 
>> I tend to label my files with readable names...
>>
>> Please take care of this ASAP...
>
> I don't think this can be taken care of with Macros or existing 
> commands, so it might have to be "hard coded" into TM, which will take 
> longer... it's on my personal to-do/mission list 
> <http://wiki.macromates.com/textmate/show/JustinFrenchToDo>, and I'm 
> emailing Allan some ideas right now...

On Oct 11, 2004, at 6:50 PM, Justin French wrote:

On 12/10/2004, at 10:18 AM, Eric Curtis wrote:

I have been letting this subject percolate for a few days in my head 
and I just can not think of another workaround that would approach any 
reasonable level of efficiency (I would love to hear some though). I 
could make a macro and have it tab stop at the name, width, height and 
alt however I am not going to know the width and height in 99% of the 
cases. I personally would also like to have it automatically add the 
file name without the extension as the alt tag though some might argue 
that this will promote poor coding practices, I tend to label my files 
with readable names...

Please take care of this ASAP...

I don't think this can be taken care of with Macros or existing 
commands, so it might have to be "hard coded" into TM, which will take 
longer... it's on my personal to-do/mission list 
<http://wiki.macromates.com/textmate/show/JustinFrenchToDo>, and I'm 
emailing Allan some ideas right now...

What would be nice is a per-language drag hook. For example, for shell 
scripts, I'd like to have the raw path of a file or folder, rather than 
the file content or directory listing. For XML, I might want a 
relative XPath, calculated from project root.

(And then, of course, we need a $TM_MODIFIER_KEYS variable to allow 
modification of drop behavior...)

Chris



More information about the textmate mailing list