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

Text Pastry

by duydao ALL Trending

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

Details

Installs

  • Total 75K
  • Win 36K
  • Mac 26K
  • Linux 14K
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6
Windows 0 8 6 9 10 4 2 0 2 3 4 3 4 8 6 9 1 2 2 3 3 2 3 5 0 0 0 0 2 3 6 1 1 6 0 3 4 0 0 6 6 2 5 5 3 5
Mac 2 1 5 1 3 5 0 2 4 7 6 3 4 5 1 3 3 3 8 3 2 1 0 1 0 0 0 0 1 3 3 3 0 5 1 4 2 0 0 2 4 9 2 6 3 4
Linux 0 2 2 0 0 0 0 1 2 2 3 0 2 0 0 1 6 2 2 0 2 0 0 2 0 0 0 0 0 3 1 1 0 2 1 0 0 0 0 3 1 2 2 1 1 3

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

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 © 2019 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: