| Summary: | ASP Tag highlighting breaking HTML highlighting | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Ed Chipman <edchipman> | ||||
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | zulus | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
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. |
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