ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Super-Awesome Paste

by huntie ST3

Intelligent paste handling for Sublime

Details

Installs

  • Total 2K
  • Win 943
  • OS X 525
  • Linux 252
Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12
Windows 0 0 2 0 0 0 0 0 0 1 0 0 0 0 2 0 1 0 0 3 2 0 1 0 1 0 0 0 0 2 0 0 0 0 3 0 0 0 1 0 0 0 0 1 0 0
OS X 0 1 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1

Readme

Source
raw.​githubusercontent.​com

Super-Awesome Paste

Super-Awesome Paste is a Sublime Text 3 plugin which aims to intelligently integrate copied text into your code. Currently this includes normalising line endings and whitespace, auto-indentation, and cleaning up copied line numbers and unwanted formatting, including smart quotes. In addition, small contextual fixes such as HTML character escaping and hex colour formatting are applied when needed. Hopefully this plugin will save developers many keystrokes, and more features are always on the way.

Getting started

The plugin is available through Package Control, but can also be installed manually by adding the latest version to your Sublime Text 3 packages directory. By default, the super_awesome_paste command can be found in your context menu and is bound to Ctrl+Alt+V, but you may want to change this to something more convenient or to override the regular paste shortcut.

Options

These options can be appended to your Settings - User file and are prefixed with the command name to avoid conflicts. For example:

{
    "super_awesome_paste.format_hex_colors": "uppercase"
}

format_hex_colors
Type: String Default: "lowercase"

Specify preferred capitalisation for pasted hex colours - "lowercase" or "uppercase". Set false to disable.

Contributing

If you discover a problem or have a feature request, please create an issue or feel free to fork this repository and make improvements.