Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » syntax highlighting problem with include files
syntax highlighting problem with include files [message #64305] Tue, 08 January 2008 17:43 Go to next message
Eclipse UserFriend
Originally posted by: amv.advalvas.Be

I installed the eclipse version (europe) and I have a problem with
the syntax checking.

For example I use a header.php file where I put my head, title and start
body tags.
I also use a footer where i close my tags.
Problem is I get a whole bunch of errors about incomplete tags.
Is there a way around this.

I google some and found that jsp file have the similar problem but there
seems to be a workaround using jspf file (code fragment files).
Is there some way to to the same thing with php files.
I do not want to disable the syntax checking for all my files.

Re: syntax highlighting problem with include files [message #64442 is a reply to message #64305] Sat, 12 January 2008 02:29 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Do you mean that disabling 'HTML Syntax Validator (for PHP Files)' in
Preferences->Validation doesn't satisfy your needs?

If you mean you want to avoid errors/warnings for some specific PHP files,
there are no such range for validation. (It is workspace-wide or

If you mean you want to avoid some specific errors/warnings such as 'No
end tag', there are no ways. You can only filter them out from Problems
Previous Topic:Problems running PHP and HTML files
Next Topic:Download what files?
Goto Forum:

Current Time: Mon Jan 30 12:43:51 GMT 2023

Powered by FUDForum. Page generated in 0.07265 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top