Skip to content

metaruslan/PigEditor

 
 

Repository files navigation

PigEditor

Webpage: http://romainr.github.com/PigEditor/

Eclipse update site: http://romainr.github.com/PigEditor/updates/ (shows 404 but works when adding it as a repository in Eclipse)



Note: I am working on a Web application for editing and submitting Pig scripts: https://github.com/cloudera/hue





Goal: I have been using the nice lightweight Pig Eclipse plugin on http://wiki.apache.org/pig/PigTools 
(and not so much the "heavy weight" PigPen) but was wondering if it was possible to do something 
more similar to what Eclipse is doing with Java:

   * automatic error highlighting 
   * check alias name existence 
   * auto complete 
   * outline 
   * ...
 
There is still a lot to improve and there might be some false positive errors highlighted
(trying to be in sync with Pig 0.10 without Macros and Python UDF for now), but feel free to send me your 
feedback/scripts/pull requests.

For using:
Eclipse 3.6 Helios with Xtext 2.2.1 (bottom line to check)
Eclipse 3.7 Indigo

For building:
Eclipse Helios 3.7 
Xtext 2.0+ http://www.eclipse.org/Xtext/

Most important file is the Xtext grammar in org.apache.pigeditor/src: org.apache.pigeditor.Pig.xtext
https://github.com/romainr/PigEditor/blob/master/org.apache.pigeditor/src/org/apache/pigeditor/Pig.xtext

Releases

No releases published

Packages

No packages published