views:

62

answers:

1

In Eclipse, I'm getting warnings for not having a start tag (<div>) because the start tag is in another file. How do I suppress this warning to keep it out of my "Problems" window?

I know in Java I could do @SuppressWarning, but I don't know how for php. I assume that there is, based on the availability of php type hinting in Eclipse, but maybe it isn't?

+1  A: 

window->preferences->validation->suspend all validators

will also make eclipse way faster :)

zolex
Followup Q: Will that disable PHP validation as well?
Mike B
maybe window->preferences->general->editors->structured etxt editors->Appearance, uncheck report problems as you type? or even there is a separate setting in your php editor. ie pdt
zolex
I still want it to detect error and warnings. I just want to suppress this particular one. Like I mentioned, Java annotations allow you to to ignore a particular error, and the IDE can pick up on those. Perhaps there is no PHP equivalent?
E-Rock