facebook

HTML Tag complete

  1. MyEclipse Archived
  2.  > 
  3. Old Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #196250 Reply

    Cao Xiaogang
    Member

    If I can get a ‘</HTML>’ after I type ‘<HTML>’ , life will be easier 🙂

    #196251 Reply

    Scott Anderson
    Participant

    Thank your for the feedback. I can see where this would both cut the editing time down and help ensure that the document remains well-formed. Nice idea.

    Unfortunately, HTML isn’t always well-formed. Since HTML consists of tags and elements, a closing tag is either required, optional, or not existant. This makes adding this feature substantially more difficult than it is for an XML editor, for example.

    So that your enhancement request will be considered for a future release, I’ve added it to our internal tracking system.

    –Scott
    MyEclipse Support

    #196267 Reply

    bcholmes
    Member

    @scott wrote:

    Unfortunately, HTML isn’t always well-formed. Since HTML consists of tags and elements, a closing tag is either required, optional, or not existant.

    <p>Thinking along those lines, it’d be nice if I had the option of telling the HTML editor that I wanted it to favour XHTML, which would make it well-formed. (At the very least, allowing me to specify that I like lower-case tags would make me very happy).

    #196269 Reply

    Scott Anderson
    Participant

    Thinking along those lines, it’d be nice if I had the option of telling the HTML editor that I wanted it to favour XHTML, which would make it well-formed.

    True, that would make tag completion a bit easier.

    (At the very least, allowing me to specify that I like lower-case tags would make me very happy).

    I understand, but you do realize that according to the HTML spec that only uppercase tags are legal. 😉

    #196271 Reply

    bcholmes
    Member

    @scott wrote:

    I understand, but you do realize that according to the HTML spec that only uppercase tags are legal. 😉

    *blink*

    Uh, that’s news to me.

    Hurm. I jumped quickly over to w3.org to check out the specs. XHTML 1.0 makes a point of saying that tags are supposed to be in lower case ’cause XML is case-sensitive. This always seemed consistent with my belief that HTML was case insensitive.

    Looking further, HTML 4.01 section 3 says that HTML is an SGML application and that in SGML elements and attributes are case-insensitive. What am I missing?

    #196272 Reply

    Scott Anderson
    Participant

    Ooops, I fear I may have caused you unintended distress with my comment. I was joking about upper case names being the only legal ones. Note the little :winky: at the end? It was a poor attempt at humor because our element completion defaults to uppercase.

    I’ve entered your enhancement request to be able to select upper or lowercase element completions within the HTML and JSP editors.

    Again, sorry for the confusion. As you noted your references are quite correct. I’ll try to leave the levity at home from now on. 🙂

    –Scott
    MyEclipse Support

    #196276 Reply

    bcholmes
    Member

    @scott wrote:

    Note the little :winky: at the end?

    Doh! I was clearly having a humor-clueless day.

    I’ve entered your enhancement request to be able to select upper or lowercase element completions within the HTML and JSP editors.

    Yay!

    BCing you

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: HTML Tag complete

You must be logged in to post in the forum log in