You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Eyal Allweil <ey...@yahoo.com.INVALID> on 2014/08/24 13:56:52 UTC

Syntax highlighting for Gedit (or other gtksourceview-based editors)

Hi all,

I've created syntax highlighting files for Pig for GtkSourceView (which is used in gedit, among other things). The files are currently located at 


Projects/GtkSourceView/LanguageDefinitions - GNOME Wiki!

For gedit on Linux, put the first pig file in ~/.local/share/gtksourceview-3.0/language-specs (create that directory if it doesn't exist).

For gedit on Windows, add the second file to your gedit directory, under gedit\share\gtksourceview-2.0\language-specs\

I used the reserved words and builtin functions from Pig 0.11, because that's what I've been using, but I'll try to put an updated version up soon for the latest version.

Enjoy!

Eyal

  
          
Projects/GtkSourceView/LanguageDefinitions - GNOME Wiki!
apache.lang: Apache configuration files, see also this bug report. apdl.lang: ANSYS APDL files. ascend.lang: ASCEND modelling environment.   
View on wiki.gnome.org Preview by Yahoo