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