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

Auto Semi-Colon

by vivait ST2/ST3

Automatically moves a semi-colon to the outside of the last bracket when pressed inside

Details

  • 2013.03.04.23.46.23
  • github.​com
  • github.​com
  • 4 years ago
  • 1 hour ago
  • 5 years ago

Installs

  • Total 30K
  • Win 15K
  • OS X 9K
  • Linux 6K
Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 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
Windows 4 22 18 15 27 22 33 35 14 22 18 12 17 16 32 17 21 9 12 13 19 15 28 12 11 18 14 21 12 12 22 19 20 22 20 18 27 19 23 18 15 22 37 22 11 14
OS X 0 12 7 3 3 5 4 7 7 8 3 2 8 8 15 4 6 6 1 4 5 6 12 3 2 4 7 10 5 13 8 4 10 12 7 9 13 3 4 4 4 8 14 7 1 3
Linux 0 5 5 4 9 10 5 8 6 11 6 4 10 6 3 9 7 4 3 2 6 6 8 4 4 2 5 1 6 4 6 5 9 6 5 4 3 8 4 6 10 3 7 11 1 4

Readme

Source
raw.​githubusercontent.​com

SublimeAutoSemiColon

This plugin automatically moves a semi-colon to outside of the last bracket when pressed inside one of more pairs of brackets.

Installing

Without Git: Download the latest source from GitHub and copy the whole directory into the Packages directory.

With Git: Clone the repository in your Sublime Text 2 Packages directory, located somewhere in user's "Home" directory:

git clone git://github.com/LewisW/SublimeAutoSemiColon.git

The "Packages" packages directory is located at:

  • OS X:

    ~/Library/Application Support/Sublime Text 2/Packages/
    
  • Linux:

    ~/.Sublime Text 2/Packages/
    
  • Windows:

    %APPDATA%/Sublime Text 2/Packages/
    

Using

Pressing the semi-colon in the following scenario:

function(|)

Would result in:

function();|

It does it in 2 steps, meaning that pressing ctrl + z will move the semi-colon back it its original location:

function(;|)