Skip to content
Closure template bundle for TextMate
Find file
Latest commit 086946f @anvie Merge pull request #7 from JAStanton/patch-1
Added Sublime Text 3 Instructions
Failed to load latest commit information.
Preferences Add symbol list entry for HTML elements with variable ids.
Snippets
Syntaxes
.gitignore
README.md
info.plist Add snippet for i18n msg gettext,

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.