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

FAlign

by justbilt ALL

A alignment plugin for Sublime Text 2 and 3.

Details

Installs

  • Total 2K
  • Win 1K
  • Mac 611
  • Linux 310
Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27
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 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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

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