Home

Awesome

TextMate Support for the Vala Programming Language

This bundle provides Vala syntax highlighting, code completion, etc. for the TextMate text editor.

Installing the TextMate Bundle

Using Git:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/technosophos/Vala-TMBundle.git "Vala.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Without Git:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
wget https://github.com/technosophos/Vala-TMBundle/tarball/master
tar zxf technosophos-Vala-TMBundle*.tar.gz
rm technosophos-Vala-TMBundle*.tar.gz
mv technosophos-Vala-TMBundle* "Vala.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Installing for Sublime Text 2

Sublime Text is able to use language and snippets from TextMate. Sublime Text 2 is adding even more TextMate compatibility support. This bundle can be installed for Sublime Text.

Using Git:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/technosophos/Vala-TMBundle.git Vala

Without Git:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
wget https://github.com/technosophos/Vala-TMBundle/tarball/master
tar zxf technosophos-Vala-TMBundle*.tar.gz
rm technosophos-Vala-TMBundle*.tar.gz
mv technosophos-Vala-TMBundle* Vala

Getting Vala on the Mac

The easiest way to get Vala on the Mac is to use Homebrew and run the following:

$ brew install vala

LibGee is strongly suggested:

$ brew install libgee

This will install all you need to begin working with Vala.

Credits

This is based on the original Vala TextMate bundle by Daniel Lucraft The original

The Vala grammer is based upon the Java grammar that ships with TextMate.