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

Text Pastry

by duydao ST2/ST3

Extend the power of multiple selections in Sublime Text 2/3. Modify selections, insert numeric sequences, incremental numbers, generate uuids, date ranges, insert continuously from a word list and more.

Details

Installs

  • Total 34K
  • Win 16K
  • OS X 12K
  • Linux 6K
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 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 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
Windows 13 20 26 32 13 13 38 23 35 47 70 23 29 34 20 35 24 24 18 2 21 15 22 22 20 11 10 18 16 13 20 24 8 11 18 31 22 14 9 5 16 16 22 20 23 23
OS X 12 16 30 20 9 6 24 26 35 46 102 32 12 45 12 7 13 15 4 10 8 23 11 16 8 3 9 8 15 16 13 8 5 5 16 18 8 15 11 4 6 14 12 15 15 13
Linux 3 9 8 9 4 6 9 3 14 13 18 3 3 14 4 7 8 6 6 1 8 7 5 8 5 6 9 8 9 11 13 13 5 4 4 10 4 7 2 1 7 9 3 5 16 9

Readme

Source
raw.​githubusercontent.​com

Text Pastry

Text Pastry is a free plugin for Sublime Text, dedicated to reduce repetetive work by extending the power of multiple selections.

How can I get started?

If you're familiar with multiple selections, it's pretty straight forward. Place multiple cursors by using CMD+Click or Ctrl+Click, open the Command Palette and select Text Pastry From 1 to X. That's it! We've just pasted incrementing numbers.

Check out the wiki for examples!

Features include:

  • Incremental numbers/sequences (1, 2, 3 or 100, 80, 60)
  • Repeatable number ranges (1, 2, 3, 4, 1, 2, 3, 4 or 2, 1, 2, 1, 2, 1)
  • Generate UUIDS (ba18f7fc-c387-46da-9544-ed32e49ce6f8 or D306E86C-918F-4551-95A9-CB9865A4DD2F)
  • Extendable list of presets (Monday, Tuesday, Wednesday or alpha, beta, gamma)
  • Extendable list of commands
  • Create and modify selections
  • Improved paste (paste the first three lines of the clipboard data to the three selected locations)
  • Generate date and number ranges
  • Convert to upper/lower case
  • Duplicate values for pasting (1, 1, 2, 2, 3, 3, 4, 4) or (a, a, a, b, b, b, c, c, c)

What's new

  • 1.5.1: Bugfix release for Find by regex #56 - Thanks [@timLinscott]
  • 1.5.0: New Features!
  • 1.4.10: Scroll into view on search / after find #33 - Thanks again @miusuncle
  • 1.4.9: Bugfix release for uuid x10 #31 - Thanks @miusuncle
  • 1.4.8: Added support for repeating increments #29 - Thanks @mkruselj
  • 1.4.7: Fixed range command (stop condition was ignored)
  • 1.4.6: Bugfix release for paste by row - Thanks @Nieralyte
  • 1.4.5: Added the paste by row command (use pr or pbr in the command line) #28
  • 1.4.4: Bugfix for command \i #27 - Thanks @kcko
  • 1.4.3: New commands! Generate date ranges command, repeat argument (x-arg), and the Auto Step command
  • 1.4.2: Fix range / negative steps #24 - Thanks @TheClams
  • 1.4.1: Hotfix for #23 - Thanks @dufferzafar
  • 1.4.0: New Features!

Further information

If you would like to know more about how Text Pastry can help you out, check out our Wiki.

Todo

  • formatters
  • wrappers #20
  • smart case: determine case-sensitivity by search term

Wishlist

  • Webservice “Shell”: use a custom (web-)service to process our selections
  • yankring
  • Templates: apply formatting right before items are pasted

Done

  • Paste by progressing a list (Piping Bag) (1.5.0)
  • increment in multiple files (1.5.0)
  • loops (1.5.0)
  • date ranges (1.4.10)
  • incremental search: add search terms to selection by shortcut (work-in-progress) (1.4.0, use add)
  • Alphabetical sequence (upper/lower case) (1.4.0)
  • Random numbers, strings and sequences (use Random Everything in combination with commands)
  • Command List Overlay
  • Command History
  • UUID generation
  • Settings for word manipulation
  • Paste as Block

Great plugins that I love to use with Text Pastry

in alphabetical order

License

The MIT License (MIT)

Copyright © 2016 Duy Dao, https://github.com/duydao/Text-Pastry

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

See Also

For further information, please take the time to look at following links: