Can you report this bug? https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDT
Thanks!
2009/3/26 Ryan Huff rh...@slickedit.com:
I should’ve waited a day before I posted “plugin integration problem with
pdt – changing editor”…my apologies. I think now I’ve found the actual
problem. Recall the symptom is that even with a different editor associated
with *.php in File Associations, when a PHP breakpoint is hit the file is
opened in a “PHP Editor”.
In org.eclipse.php.internal.debug.ui.presentation.XDebugModelPresentation
(and PHPModelPresentation), the getEditorId method has
“org.eclipse.php.editor” hardcoded as the return value in the second case.
So no matter what, when a PHP breakpoint is hit, a PHP Editor is popped
open. Shouldn’t this method be finding the default editor for php, and
returning the corresponding editor id? Looks like that’s what
org.eclipse.jdt.internal.debug.ui.JDIModelPresentation.getEditorId does.
Kind regards,
Ryan
___
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
--
Best regards,
Michael
___
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev