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 914
  • OS X 511
  • Linux 246
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 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
Windows 0 0 0 0 0 1 1 2 0 0 1 0 1 1 1 0 0 0 0 0 0 2 1 0 1 0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 1 1 0 1 0 1
OS X 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 3 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0

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.