ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Recognize tags between head an footer in Eclipse

May 27, 2009 6:19am

Subscribe [1]
  • #1 / May 27, 2009 6:19am

    ValdemarDeMatos

    13 posts

    I’m using CodeIgniter in Eclipse and I get these “no start tag (body)” error because I start my <body> tag in the header and close it in the footer.

    Does anybody knows a way to make Eclipse recognize these tags throughout the all project?

    Thanks

  • #2 / May 27, 2009 6:28am

    Dam1an

    2385 posts

    I used to have that problem before (I now use a single master template with sub views)
    From what I remember, you can make it permanently ignore that given error, or all types of those errors (although you want to know about other non matching tags so avoid that)

    I can’t remember where I made these changes, and don’t have Eclipse PDT on my work machine, so can’t check now…

  • #3 / May 27, 2009 6:38am

    ValdemarDeMatos

    13 posts

    In fact I can delete that specific error by rigth clicking it in the Problems tab.
    And this doesn’t affect similar errors.

    But it would be nice if Eclipse could recognize the start tags from header to footer…

  • #4 / May 27, 2009 6:46am

    Dam1an

    2385 posts

    The reason eclipse doesn’t know, is cause it doesn;t understand the way views are loaded… it has no way to know the 2 view files are related

  • #5 / May 27, 2009 7:43am

    ValdemarDeMatos

    13 posts

    Thanks Dam1an.
    Let’s hope this can be implemented in the future…

    Just curious, do know of any other editor that have this capacity?

  • #6 / May 27, 2009 7:56am

    Dam1an

    2385 posts

    I don’t think any do :(
    With a little hacking, I’ve managed to get a setup with Eclipse PDT that works very well with CI
    http://ellislab.com/forums/viewthread/115310/#583621

  • #7 / May 27, 2009 8:24am

    ValdemarDeMatos

    13 posts

    I’ll take a look.

    Thank you very much!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases