-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathREADME
41 lines (27 loc) · 1.53 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
PigEditor
Note
====
The project has been moved to Hue, which now offers a Web editor for editing and submitting Pig scripts: http://gethue.com
The new editor has more functionalities and I recommend it instead of the Eclipse plugin.
Hue is open source and also offers many more other editors and makes Hadoop easier to use. Feel free to email https://groups.google.com/a/cloudera.org/group/hue-user/ for any questions.
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)
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