/fatfree-snippets

Fat-Free Framework snippets for Sublime Text 2/3

Fat-Free framework snippets

Fat-Free Framework ([GitHub] (https://github.com/bcosca/fatfree)) snippets for Sublime Text 2/3.

Install

With the Package Control:

The easiest way to install Fat-Free Snippets is through Package Control, which can be found at [this site] (https://sublime.wbond.net) 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.

Without Git:

[Download] (https://github.com/uonick/fatfree-snippets/archive/master.zip) the latest source from GitHub and copy the Fat-Free Snippets folder to your Sublime Text "Packages" directory.

With Git:

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
    

How to use:

Just type:
  • fse [TAB]
$f3->set(key,value);
  • fge [TAB]
$f3->get('value');

etc..

or Press Ctrl+Shift+P, type fat and select snippet

Aviable snippets:

[Snippets] (https://github.com/uonick/fatfree-snippets/wiki/Aviable-Snippets)