facebook

Minor HTML Editor Auto-completion error

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #233619 Reply

    ahado
    Member

    On entering ‘</’ within a table cell the editor always completes to ‘</tr>’ even though there may be other unterminated tags – e.g. td or p.

    Obviously there are html ambiguities here but it is very irritating – you have to delete it every time!

    WinXP Pro SP2/JDK 1.5.0_03/Eclipse 3.1/MyEclipse 4.0M2 for 3.1

    #233633 Reply

    Riyad Kalla
    Member

    I cannot reproduce this, when you type </ the most recently opened tag is popped from the stack and closed, if you are getting </tr> closures then you likely have a dangling unclosed <tr> somewhere in your code.

    This could be an issue specific to your code, please paste an example snippet of HTML that I can use to reproduce this locally and tell me what to do to replicate it.

    #233659 Reply

    ahado
    Member

    Try entering ‘</’ after the word ‘test’:

    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
    <html>
    <head>
    </head>

    <body>
    <TABLE>
    <TR>
    <TD><p>test</TD>
    </TR>
    </TABLE>
    </body>
    </html>

    Can’t get it to layout right – but this should work.

    Another minor problem – configuring lower case tags is not remembered on restarting Eclipse (hence the mixed tag sizes above)

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Minor HTML Editor Auto-completion error

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