[TextMate] Re: HTML, auto-complete and snippets

Lucas K. Mathis macromates.com at lkmc.ch
Wed Oct 6 18:57:58 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6.10.2004, space aliens observed Sune Foldager saying:
>>2) I for one can never remember all the different versions of (X)HTML
>>and how you're allowed to nest tags in each version and what tags
>>have which attributes and so on.
>I think the best practice is to just write HTML like it was XHTML
>strict.. or at least transitional. That is, always end your tags,
>always end non-dual tags with /> and so on.

That's what I do, but it doesn't help me with the problems I mentioned.


>I think making TM into an editor which manages all the standards for
>you is a mistake. There is the w3.org site for checking the standards,
>and I think it's best if the person knows about it, not the program.

I write applications in Java, C#, Objective-C, C, C++, AppleScript, Perl
and some other languages. I write HTML, CSS, JavaScript, RSS and more
for several different web sites which use different versions of (X)HTML.

I'm afraid I don't work with HTML often enough to remember what
attributes were removed from which version of HTML, but I still want to
write valid HTML. Of course I validiate my sites with the HTML
validator. But even so I would like to have an editor that helps me
write corrent HTML in the first place by showing me what's allowed and
what's not while I actually write the code.

This is not a show stopper. TextMate is great even without such a
feature. But this feature would definitely help me a great deal and save
a ton of my time.

lucas

- -- 
"There is no more noble occupation in the world than to assist another human being - to help someone succeed."
  -- Alan Loy McGinnis

-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2

iQA/AwUBQWRAJrXYdom/dB2cEQJeGACgmlCeSc0p/4oUMK/C2/ToMlret/EAnA3L
Zl4ZH/30CZfRPBLj2UySf465
=4foR
-----END PGP SIGNATURE-----



More information about the textmate mailing list