[TextMate] Feature Request

Eric Curtis ecurtis at rgbdesignstudio.com
Tue Oct 12 00:18:10 UTC 2004


Hello,

Early on the first day of this mailing list I sent an email about my 
first impressions, both positive and negative, which generated a few 
responses, including one from Allen I believe. That said I want to 
highlight what for me, as an HTML coder, is the only major downfall 
that has not been spoken about extensively:

> Dragging an image from the project pane into a HTML file should add 
> something like <img src="eric.jpg" alt="eric" width="100" height="100" 
> /> and not the actual source code of an image at the insertion point.

Now I have seen a few requests that suggest highlighting an image in 
the project drawer should display the graphic file instead of the code 
and I agree, however this is not the major hurdle in my book. We need 
to be able to grab a file from the drawer and pull it into our html 
code and have the correct width and height added automatically.

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...

Sincerely,

Eric Curtis




More information about the textmate mailing list