GF Logo

Editor modes & IDE integration for GF

We collect GF modes for various editors on this page. Contributions are welcome!

Emacs

gf.el by Johan Bockgård provides syntax highlighting and automatic indentation and lets you run the GF Shell in an emacs buffer. See installation instructions inside.

Atom

language-gf, by John J. Camilleri

Visual Studio Code

Some helpful notes/links:

Geany

By John J. Camilleri

Custom filetype config files for syntax highlighting in Geany.

For version 1.36 and above, copy one of the files below to /usr/share/geany/filedefs/filetypes.GF.conf (under Ubuntu). If you're using a version older than 1.36, copy the file to /usr/share/geany/filetypes.GF.conf. You will need to manually create the file.

You will also need to edit the filetype_extensions.conf file and add the following line somewhere:

  GF=*.gf

Vim

vim-gf