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

Installs

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

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