Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-incubator-dev] Re: Asking help with XQDT plugin for eclipse

Dear Belaid,

First sorry for getting to you so later, but you know, better late than even later. ;)

I have just created the enhancement request Bugzilla entry for the XQDT plugins regarding the possibility to work on XQuery outside XQuery projects. You might want to create a Bugzilla account and add yourself  to the CC list of the following Bug entry: https://bugs.eclipse.org/bugs/show_bug.cgi?id=296121
(If you have problems adding your account's email address to the CC list, let me know)

As you might know, XQDT just joined the Eclipse WebTools Project family. Recently we have just set the target date of our first milestone release from inside Eclipse: 0.7 M1 due 1st January 2010.

For this release we plan to fix a lot of open more trivial issues that have been found in the XQDT plugins. Your problem (ours as well :) ) is not that trivial and needs some more thought and refactorings. As I envision the things for the next milestone (M2) we will tackle the integration problem between XQDT plugins and all the other fancy WebTools toys (XML views, editors, completion, etc. more to be discussed in early January). So this problem might be included to the TODO list of M2 to be release somewhere at the end of February, beginning of March.

Regards,
Gabriel

On Sun, Nov 8, 2009 at 4:13 PM, David Carver <d_a_carver@xxxxxxxxx> wrote:
I've forwarded this question onto the wtp-incubator mailing list, so that the main XQuery plugin developers can answer the question.

Also if there are any enhacments that you need you should open a bug in the WTP Incubator's XQuery component on eclipse bugzilla.

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=WTP%20Incubator

Dave

Belaid Errahal wrote:
Hi Mr. David Carver.
First I take some freedom to send you this mail.
I've read lots of your post in the http://intellectualcramps.blogspot.com/   blog

you will excuse me for my very bad english ;)
here is my problem :
I am a developper and I was asked to look for some useful tool to help us (my team) to enhance our productivity in xml/xsl/xquery development using eclipse.
After many search on the web I've found the *XQDT plugin* which seems to be usefull when using xquery.
but it has some limitations
what I want is :
- autocompletion and code assist of xquery code (granted with XQDT ;) )
- validation of xquery code (Granted also with XQDT)

But this works only inside an XQuery Project :
-----------------------------------------------------------------
If I try to open and xml or xsl document with the XQDT editor, the autocomplition does not work --> so I have to add **.xml* and **.xsl* to the content type of 'XQuery source editor' using "*window->preference->general->content type*"
Now if I try to put some xquery code inside some tag of an xml file, the autocompletion works fine but only with 'XQuery source editor' !!

Let's move the the the validation :
Now if I'm in a java project, and i try to open an xml file with "XQuery source editor", the auto completion works fine, but there is no validation of my xquery code --> So i Have to modify my *.project* file and add this :
*/<natures>
       <nature>org.xqdt.core.nature</nature>
 </natures>/*

then my .project contains both natures : java and xqdt, and the validation works fine ;)
*/<natures>
       <nature>org.eclipse.jdt.core.javanature</nature>
   </natures>
   <natures>
       <nature>org.xqdt.core.nature</nature>
   </natures>/*

Till now i have no problems, but when using "XQuery source editor", i can't get the xml autoCompletion and validation (based on a xml catalog), and also i cant get the xsl validation and code assist based on templates defined inside the XSL editor

I try to read the source code of the XQDT PLUGIN  but i have no idea about plugin development.
i know that plugin developement is based on what we call "extension and extension point" but i don't know how to
My idea is to add some extension and call for extension point defined by the XML and XSL editors (org.eclipse.wst.xsl.ui, ......)


So plz can you help me te customize this plugin -> to be able to use all it's features along with the XML and XSL editors (code assist and validation)

I have spent 4 days looking for solution but in vain


Iam waiting for your answer

Friendly,
*Belaid E.*


_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev



--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com

Back to the top