FarCry
A collection of FarCry snippets for Sublime Text
Details
Installs
- Total 197
- Win 122
- Mac 53
- Linux 22
Dec 22 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 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 |
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
FarCry - Sublime Text
A collection of FarCry snippets for Sublime Text
Installation
The easiest way to install is via Package Control
Package Control
Press CMD/CTRL+SHIFT+P, choose “Package Control: Install Package”, search for “FarCry”
Manual Install
Simply clone the repository into your Packages directory
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/seancoyne/farcry-sublimetext.git FarCry
Usage
There are several ways to insert a snippet.
Menu
Tools -> Snippets… This will display a list of snippets for your installation. You can filter to show only the FarCry snippets by typing “FarCry” Use the arrow keys to choose a snippet, press ENTER to insert the snippet.
Command Palette
Tools -> Command Palette or CMD/CTRL+SHIFT+P This will display the command palette. To filter only snippets you can type “Snippet”, or to filter only the FarCry snippets type “FarCry”. Use the arrow keys to choose a snippet, press ENTER to insert the snippet.
Text Trigger
Many of the snippets have a text triggers. For example, the webskin snippet is triggered by the text “webskin”. In any file if you type “webskin” (w/o quotes) then press tab the snippet will be inserted. You can view the *.sublime-snippet files in the package to determine the trigger text.
Snippet Fields
Most snippets have fields where you can enter information. When you insert the snippet your cursor will be placed at the first field. You can enter the value then press tab to move to the next field. The buildlink snippet is a good example. When you insert the snippet you will see this (| is the cursor):
<skin:buildLink objectid="|"><cfoutput></cfoutput></skin:buildLink>
You can enter an objectid and press tab and you will see this:
<skin:buildLink objectid="the object id you entered"><cfoutput>|</cfoutput></skin:buildLink>
You can then enter the text for the link and press tab one last time which will move the cursor to the end of the line.
Contributions
If you have a snippet you would like to add please fork the repository and send me a pull request.