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

Installs

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

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