Difference between revisions of "New Eclipse Plugin for XQuery"

From Eclipsepedia

Jump to: navigation, search
(Should Have)
(Must Have)
Line 31: Line 31:
  
 
=== Must Have ===
 
=== Must Have ===
* Editor Partitioning  
+
* Editor Partitioning [[Image:Ok_green.gif]]
* XPath 2 Content Parser
+
* XPath 2 Content Parser [[Image:Ok_green.gif]]
* XQuery Content Parser
+
* XQuery Content Parser [[Image:Ok_green.gif]]
* Syntax colouring
+
* Syntax colouring [[Image:Ok_green.gif]]
 
** Syntax Validation
 
** Syntax Validation
 
** error highlighting  
 
** error highlighting  
 
* Content assistance
 
* Content assistance
 
** Ctrl + Space to show the content support
 
** Ctrl + Space to show the content support
* Preference Page
+
* Preference Page [[Image:Ok_green.gif]]
  
 
=== Should Have ===  
 
=== Should Have ===  

Revision as of 07:32, 26 August 2008

Contents

Abstract

XML is an undying technique designed for data representation and data exchange. One great feature of XML is its ability to handle XML related matters using XML itself. XQuery is such a technique that is created in order to query XML documents using XML itself.

The purpose of this project proposal is to implement a XQuery editor plug-in for Eclipse that will be very helpful for web developers; specially for people that are dealing with querying XML data. Even with current somewhat limited capabilities of XQuery, it is largely used to query XMLDBs such as eXist or Qexo. But with the next suggested version of XQuery which is 1.1, XQuery could be the favourite for querying not only XMLDBs but also other XML based office documents and relational DBs.

Because of the importance of XQuery, I'm expecting to implement a XQuery plug-in that will be managed under Eclipse web tools project and under EPL.Therefore at the end of this project, we will have a fully functional editor (as-you-type syntax validating, error tips, syntax highlighting, outlining, content assistance, Ctrl+Space assistance & preference page) for XQuery.

Here is the complete proposal. [1]

Participants

  • CVS: eclipse-incub.cvs.sourceforge.net/cvsroot/eclipse-incub/org.eclipse.wst.xquery

Planned Features

  1. Syntax colouring
  2. Content outlining
  3. Syntax Validation and highlighting errors
  4. Error tips (Reason for errors and may be some guide to undo it)
  5. Content assistance
    1. Ctrl + Space to show the content support
    2. Code snippets
  6. Preference page to control the overall behaviour of the plug-in including syntax highlighting and defining the output

A list according the the priority in order to make a meaning out of this.

Must Have

  • Editor Partitioning Ok green.gif
  • XPath 2 Content Parser Ok green.gif
  • XQuery Content Parser Ok green.gif
  • Syntax colouring Ok green.gif
    • Syntax Validation
    • error highlighting
  • Content assistance
    • Ctrl + Space to show the content support
  • Preference Page Ok green.gif

Should Have

  • Content outlining
  • Content assistance
    • Code snippets

Nice to have

  • Error tips

Community proposals

Feel free to add your comments and ideas.


Getting the source

Download the source from SourceForge Eclipse Incubator.

ViewCVS: eclipse-incub.cvs.sourceforge.net/eclipse-incub/org.eclipse.wst.xquery [2]

CVS: eclipse-incub.cvs.sourceforge.net/cvsroot/eclipse-incub/org.eclipse.wst.xquery

References

XQuery References

Other Help Materials