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

Installs

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