Fat-Free Framework (GitHub) snippets for Sublime Text 2/3.
The easiest way to install Fat-Free Snippets is through Package Control, which can be found at this site
Once you install Package Control, restart ST2/3 and bring up the Command Palette (Command+Shift+P
on OS X, Ctrl+Shift+P
on Linux/Windows). Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select Fat-Free Snippets when the list appears. The advantage of using this method is that Package Control will automatically keep Fat-Free Snippets up to date with the latest version.
Download the latest source from GitHub and copy the Fat-Free Snippets folder to your Sublime Text "Packages" directory.
Clone the repository in your Sublime Text "Packages/User" directory:
git clone https://github.com/uonick/fatfree-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\Fat-Free snippets
fset
[TAB]
$f3->set(key,value);
fget
[TAB]
$f3->get('value');
etc..
or
Press Ctrl+Shift+P
, type fat
and select snippet
or Shift + Command + P
on OS X