Touring Plugins – String Manipulation

The String Manipulation plugin allows us to perform a variety of tasks on strings, from capitalizing, converting to camel case, to escaping strings in Java, JavaScript, XML or HTML amongst others.

The plugin itself is pretty straightforward. Once installed, it creates a new entry under the Edit menu as well as a contextual popup.

context-menu-1

Operating on it is merely a matter of selecting the string (defaults to current line if no text is selected) and choosing the operation.

Escaping HTMl

Important: The default key binding for the popup is Shift+Alt+M which doesn’t work well with MacOS, but it can be mapped to some other keyboard binding, such as Ctrl+Alt+M, easily via Preferences | Keymaps . Using the context menu is key to efficiency with this plugin so it’s highly recommended to make this change.

This entry was posted in Tips & Tricks. Bookmark the permalink.

5 Responses to Touring Plugins – String Manipulation

  1. meo says:

    It is also mapped to Alt+M, not sure whether it is better or worse than Shift+Alt+M :)

  2. What is the name of this plugin?

  3. Danny Feliz says:

    This plugin is just amazing 😀

  4. tom says:

    Does not work in ColumnMode : will be rated 5 when this will be fixed :

    It will be very usefull with increment. Until then, you aren’t able to increment indexes of an array in one step : all nmueric datas that are in selection but not the index will be incremented as well

Leave a Reply

Your email address will not be published. Required fields are marked *