Skip to content

marclipovsky/vscode-string-manipulation

Repository files navigation

Node.js CI

String Manipulation for VSCode

This extension provides string manipulation commands for any selected text as well as multiple selections.

Current string functions available:

  1. camelize
  2. capitalize
  3. classify
  4. chop - split into groups provided n # of characters
  5. clean
  6. clean diacritics
  7. dasherize
  8. decapitalize
  9. humanize
  10. reverse
  11. screaming snake
  12. sentence
  13. slugify
  14. snake
  15. underscore
  16. swap case
  17. titleize
  18. titleize (AP Style)
  19. titleize (Chicago Style)
  20. truncate - trims string to n # of characters and appends ellipsis
  21. prune - truncate but keeps ellipsis within character count provided
  22. repeat - repeat selection n #of times
  23. convert between unicode and readable characters.

Number related functions:

  1. increment all numbers in selection
  2. decrement all numbers in selection
  3. duplicate selection and increment all number
  4. duplicate selection and decrement all number
  5. sequence all numbers in selection from first number

Use

To use these commands, press ⌘+p and enter any of the commands above while text is selected in your editor.

String Manipulation Screencast

🧪 Introducing Labs Features

Introducing String Manipulation Labs

We’re excited to announce the launch of String Manipulation Labs—a collection of (really just one at this moment) experimental features designed to enhance and expand the capabilities of the String Manipulation extension. Labs features are disabled by default to ensure a stable experience with the core functionalities.

🚀 How to Enable Labs Features

To try out the new Labs features, follow these simple steps:

1.	Open VSCode Settings:
•	Press Ctrl + , (Windows/Linux) or Cmd + , (macOS), or navigate to File > Preferences > Settings.
2.	Search for Labs Settings:
•	In the search bar, type stringManipulation.labs.
3.	Enable Labs Features:
•	Toggle the String Manipulation Labs setting to On.

🛠️ We Value Your Feedback

Since Labs features are experimental, your feedback is invaluable! Let us know your thoughts, report any issues, or suggest improvements to help us refine these tools.

Thank you for using String Manipulation! Your support helps us build better tools for the community.

License: MIT

About

VSCode extension to add common string manipulation

Resources

License

Stars

Watchers

Forks

Packages

No packages published