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

Super-Awesome Paste

by huntie ST3

Intelligent paste handling for Sublime

Details

Installs

  • Total 1K
  • Win 609
  • OS X 399
  • Linux 183
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 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4
Windows 1 2 2 1 0 1 0 0 0 2 1 0 2 1 0 1 1 1 0 1 2 2 1 0 1 0 3 2 0 0 1 0 0 3 0 0 0 0 0 0 1 0 1 0 0
OS X 1 0 0 0 0 1 0 0 0 1 0 1 1 0 0 1 0 0 0 1 1 2 0 0 0 0 0 0 0 0 1 0 1 1 1 0 1 0 0 0 0 0 0 1 0
Linux 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 4 0 0 0 0 1 0 0 0 0 1 2 0 1 1 0 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.