Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Closure template bundle for TextMate

branch: master
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

Something went wrong with that request. Please try again.