Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
gedit Syntax Highlighting for CoffeeScript files
branch: master
Failed to load latest commit information.
changelog.md Release 1.0.4
coffee_script.lang fixed; regex comments in multi-line regex
install.sh Update install.sh
literate_coffee_script.lang Integrating literate_coffee_script.lang fixing #30 and #27
readme.md
rubycius-mod.xml added right margin property
test.coffee fixed; regex comments in multi-line regex

readme.md

This project adds CoffeeScript syntax highlighting to the gedit text editor. (and any other gtksourceview compliant text editor)

Easy Installation

Clone and execute install.sh.

Installation and Use

  1. Download and place coffee_script.lang in ~/.local/share/gtksourceview-3.0/language-specs

    Note: if those directories don't exist, make them and gedit will know what to do. Important: if you are using GTK2 (e.g. old Gnome) use gtksourceview-2.0/language-specs folder instead of 3.0.

  2. Run gedit and open a CoffeeScript file, Cakefile, or IcedCoffeeScript file.

Patches and improvements welcome!

screenshot

Extra: Install the Ruycius-Mod theme

  1. Download and place rubycius-mod.xml in ~/.local/share/gtksourceview-3.0/styles

    Note: if those directories don't exist, make them and gedit will know what to do. Important: if you are using GTK2 (e.g. old Gnome) use gtksourceview-2.0/styles folder instead of 3.0.

  2. Run gedit then Edit > Preferences > Fonts and Colors > Color Scheme > Rubycius-Mod

  3. I like using Liberation Mono for a base font as well which is available within the standard repo for many Linux distros.

Something went wrong with that request. Please try again.