| Summary: | Can not override default editor on PHP content-type associated files | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Alexandre Nion <alexandre.nion> |
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Ilina Stefanova <ilina.s> |
| Severity: | normal | ||
| Priority: | P3 | CC: | aldwin, huffrg3, kalin.a |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Alexandre Nion
Seems indeed linked to behavior of PHP explorer as "Open with default editor" and click opening from standard navigator tab will work fine. I also came here to report this bug. I encountered it on Windows, and would love to see it fixed. I am guessing it is a similar issue to the one I reported a while back (which was fixed), found here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=270137 . From my debugging, I can tell that the call to EditorUtility.openInEditor in org.eclipse.php.internal.ui.actions.OpenActionUtil returns an EditorPart of type PHPStructuredEditor no matter what you have set as the default editor for the *.php extension. I suspect this is the problem. yes,I notice org.eclipse.php.internal.ui.actions.OpenActionUtil will get PHPStructuredEditor if the the file's content type is "org.eclipse.php.core.phpsource" after discussing with Roy,we decide to remove tpl from "org.eclipse.php.core.phpsource". Verified. Closing... |