Gengojs
The official snippets for gengo.js
Details
Installs
- Total 69
- Win 40
- Mac 19
- Linux 10
Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
gengojs-sublime-snippets
The official snippets for gengo.js http://www.gengojs.com/
Install
Package Control:
The easiest way to install gengo.js snippets is through Package Control. Once you install Package Control, restart Sublime Text 2(3) and open the Command Palette (Command+Shift+P
on OS X, Ctrl+Shift+P
on Linux/Windows). Select Package Control: Install Package
, then search and select Gengojs
. Once intstalled, Package Control will keep you up to date whenever a new version is released.
GitHub:
Download the latest source from GitHub and copy the folder to your Sublime Text Packages
directory.
Git:
Clone the repository in your Sublime Text Packages/User
directory:
git clone https://github.com/iwatakeshi/gengojs-sublime-snippets.git
The Packages
directory is located at:
OS X:
~/Library/Application Support/Sublime Text 2(3)/Packages/User
Windows:
%APPDATA%\Sublime Text 2(3)\Packages\User
Portable version:
Sublime Text 2(3)\Data\Packages\User\Gengojs
Usage:
Just type:
__( --> __(phrase, [arguments])
__l --> __l("locale")
__date --> __l("locale").date(options).format(date)
__time --> __l("locale").time(options).format(time)
__number --> __l("locale").number(options).format(number)
__moment --> __l("locale").moment(string)
or open the Command Palette, type gengo
and select the desired snippet.
Currently, the snippet works in Jade (.jade
) and Handlebars (.hbs
). To add support for your favorite template, just fork and pull!