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
  • 5 years ago
  • 36 minutes ago
  • 6 years ago

Installs

  • Total 47K
  • Win 27K
  • OS X 12K
  • Linux 9K
Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11
Windows 7 20 14 20 23 21 19 18 16 6 16 17 18 21 17 14 10 15 13 25 21 20 13 17 30 24 24 26 34 19 14 20 24 26 22 36 27 12 22 27 32 21 20 19 20 25
OS X 2 2 2 5 2 3 4 4 2 1 3 4 5 8 6 0 4 1 0 4 6 5 2 4 2 5 5 7 4 3 6 3 1 4 5 6 2 4 4 3 6 8 3 3 0 3
Linux 1 4 5 2 3 5 5 8 2 4 3 5 5 4 4 3 5 0 4 4 5 7 2 3 6 7 4 6 5 4 1 9 4 5 5 4 4 5 5 5 4 5 9 3 3 1

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(;|)