Closure template bundle for TextMate
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Preferences
Snippets
Syntaxes
.gitignore
README.md
info.plist

README.md

SoyTemplate.tmbundle

A TextMate Bundle & Sublime Text 2 Package for Google Closure Templates.

The bundle includes syntax highlighting, the ability to compile or evaluate Closure template inline, convenient symbol listing for functions, and a number of expando snippets.

Patches for additions are always welcome.

TextMate

Installation:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles &&
cd ~/Library/Application\ Support/TextMate/Bundles &&
git clone git://github.com/anvie/SoyTemplate.git SoyTemplate.tmbundle

screenshot

Sublime Text 2

Installation

For Sublime Text 2 on OS X:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages &&
git clone git://github.com/anvie/SoyTemplate.git SoyTemplate

For Sublime Text 2 on Windows 7 using Cygwin:

cd /cygdrive/c/Users/$USER/AppData/Roaming/Sublime\ Text\ 2/Packages/ && git clone git://github.com/anvie/SoyTemplate.git SoyTemplate

Sublime Text 3

Instalation

cd ~/Library/Application\ Support/Sublime\ Text\ 3/Installed\ Packages/ &&
git clone git://github.com/anvie/SoyTemplate.git SoyTemplate &&
zip -r SoyTemplate.sublime-package SoyTemplate &&
rm -rf SoyTemplate
  • Restart Sublime Text
  • Open Soy file
  • Optional CMD+SHIFT+P
  • Set Syntax: SoyTemplate

screenshot

Donation