using xml editor for other xml type files. [message #85805] |
Tue, 22 March 2005 12:02  |
Eclipse User |
|
|
|
Originally posted by: sylcheung.gmail.com
Hi,
I am using Eclipse WTP 1.0M3 with Eclipse 3.1 M5. But when I associate
the XML editor with other xml type file (e.g. *.page file in tapestry),
it only shows as a default text editor (i.e. no color syn taxing, no
outline, no code completion).
Does someone else have the same issue? and what is the solution for that?
Thank you.
|
|
|
Re: using xml editor for other xml type files. [message #86081 is a reply to message #85805] |
Wed, 23 March 2005 00:07  |
Eclipse User |
|
|
|
On Tue, 22 Mar 2005 11:02:41 -0600, Samuel Cheung <sylcheung@gmail.com> wrote:
> Hi,
>
> I am using Eclipse WTP 1.0M3 with Eclipse 3.1 M5. But when I associate
> the XML editor with other xml type file (e.g. *.page file in tapestry),
> it only shows as a default text editor (i.e. no color syn taxing, no
> outline, no code completion).
>
> Does someone else have the same issue? and what is the solution for that?
>
> Thank you.
>
My guess is that your XML contains a <project> element?
If so, this is a problem that the ant part of the base eclipse
thinks anything with <project> in it is an ANT file, so its
"attempting" (or expecting) an ant editor to open on that file.
This is a large complex issue that I dont' think the platform
has a good solution for yet (and will likely involve users like you
having to make some choice "treat as ant" vs. "don't treat as ant".
Feel free to open bugs/feature requests (or look for existing ones).
If you don't have <project> in the file, then I'd recommend you open a
bug against our wst.xml component, and attach a small sample of the file
(and the steps you took, I assume just "associate editor", right?).
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04711 seconds