Community
Participate
Working Groups
Created attachment 198910 [details] ASP Tag highlighting breaking HTML highlighting example Since I updated to Eclipse 3.7 or Indigo, When ever I open files that contain asp tags along side html the editor starts highlighting weird after the first asp tag. I'm using SilverStripe as a CMS and its template framework uses <% and %> to define its template syntax. Having the html highlighting is really nice but this is a weird one. Any ideas on where/how I can turn off PDT 3.0 using asp tags? If it makes any difference my workspace is the same as the one I used in 3.6. It looks like the highlighter is interpreting it as a opening php tag because it can be closed using a closing php tag ?> then the syntax highlighting for html works fine after. img97.imageshack.us/img97/6034/unled2ol.jpg
hi,you can turn off PDT 3.0 using asp tags by removing this line use_asp_tags_as_php=true in file yourproject/.settings/org.eclipse.php.core.prefs.
Actually that line isn't even present in one project's "org.eclipse.php.core.prefs" file and in another it's set to false.
hi, How about set it to true? and which file use_asp_tags_as_php=false is in?
It's in the projects .settings/org.eclipse.php.core.prefs and setting it to true or removing that line has no effect. A <% still starts the php highlighting.
You can enable ASP tags in PHP < 7.0. True ASP tags isn't supported, and never will be.