Community
Participate
Working Groups
Build Identifier: I20110613-1736 PDT is automatically deciding to parse all HTML content in my PHP files as HTML5. We do not have any HTML5 content anywhere in our application, and additionally there is a ton of legacy code using tags/attributes that are deprecated in HTML5 (center, font, script language, etc). Of course, being PHP these are not all full pages, and can't have a doctype at the beginning of each file. This is causing the IDE's 'enhancements' to be distracting and hog my CPU as I have yellow squigglies all over the place, and due to the poor parsing of mixed PHP/HTML content in PDT, in large files the squigglies will span pages and pages of code (including code inside PHP tags). It would be nice to have an option like WTP for default doctype, or at least not default to HTML5 -- this is very counterintuitive as most web browsers viewing a page with no doctype would not default to HTML5, so why should the IDE? Reproducible: Always Steps to Reproduce: 1. Open PHP file with no HTML doctype 2. Create a <center> tag 3. Glare at squigglies
we should make sure that the WTP's default doctype is also PDT's one