Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Andr3as/Sublime-SurroundWith

Repository files navigation

#SurroundWith

This is a plugin for the code editor Sublime Text 2 and 3. It adds a 'surround with' ability to Sublime like Eclipse has.

#Installation

Using Package Control

Install the wbond Package Control

  • Open the console of Sublime Text
  • Run "Package Control: Install Package"
  • Search for SurroundWith

Using Git

  • Browse the subfolder Data\Packages of your Sublime Text installation
  • Clone the repository
    • git clone git://github.com/Andr3as/Sublime-SurroundWith.git

Alternative

  • Download the zip archive
  • Extract it into an "SurroundWith" sub-directroy in Data\Packages of your Sublime Text installation

#Basic Use

  • Select the text which should be surrounded
  • Run the command (see below)

##Default Hotkeys

  • Ctrl-Alt-D - div
  • Ctrl-Alt-U - do-while loop
  • Ctrl-Alt-I - if clause
  • Ctrl-Alt-E - if-else clause
  • Ctrl-Alt-F - for loop
  • Ctrl-Alt-T - try-catch block
  • Ctrl-Alt-W - while loop

##Example

####Before

Before

####After

After

###More Information

http://andrano.de/SurroundWith

About

A 'surround with' plugin for Sublime Text 2 and 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages