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

Installs

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

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