ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

FAlign

by justbilt ST2/ST3

A alignment plugin for Sublime Text 2 and 3.

Details

Installs

  • Total 1K
  • Win 621
  • OS X 353
  • Linux 153
Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4
Windows 0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 2 3 1 0 0 7 1 0 1 1 0 0 2 0 0 0 1 0 0 0 0 0 1
OS X 0 3 1 1 1 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 2 0 1 1 2 2 2 1 1 0 0 0 0 0 0 2
Linux 1 0 0 0 0 0 0 2 1 0 0 0 2 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 2 0 0 0 0 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

A alignment plugin for Sublime Text 2 and 3.

Installation

To install this plugin, you have two options:

  1. If you have Package Control installed, simply search for FAlign to install.

  2. Clone source code to Sublime Text packages folder.

Usage

⌘ + \ alignment with first keyword. Again alignment with second keyword,…

Examples

Before:

Button = import(".utils.Button")
AlertEx = import(".utils.AlertEx")
Tips = import(".utils.Tips")
Help = import(".utils.Help")

After:

Button  = import(".utils.Button")
AlertEx = import(".utils.AlertEx")
Tips    = import(".utils.Tips")
Help    = import(".utils.Help")

Before:

dispatcher:addEventListener("mail_new", mail_new)
dispatcher:addEventListener("mail_mark_read", mail_mark_read)
dispatcher:addEventListener("mail_handle_invitation", mail_handle_invitation)
dispatcher:addEventListener("mail_send", mail_send)

After:

dispatcher:addEventListener("mail_new",               mail_new)
dispatcher:addEventListener("mail_mark_read",         mail_mark_read)
dispatcher:addEventListener("mail_handle_invitation", mail_handle_invitation)
dispatcher:addEventListener("mail_send",              mail_send)

Before:

local name = params.name or "Arial"
local font_size = params.font_size or 30
local color = params.color or cc.c3b(255, 255, 255)
local width = params.width or 0

After:

local name      = params.name      or "Arial"
local font_size = params.font_size or 30
local color     = params.color     or cc.c3b(255, 255, 255)
local width     = params.width     or 0