IntelliJ plugin - https://plugins.jetbrains.com/plugin/2162
Provides actions for text manipulation:
Switch case:
- Switch style (camelCase, hyphen-lowercase, HYPHEN-UPPERCASE, snake_case, SCREAMING_SNAKE_CASE, dot.case, words lowercase, Words Capitalized, PascalCase)
- To SCREAMING_SNAKE_CASE (or to camelCase)
- To snake_case (or to camelCase)
- To dot.case (or to camelCase)
- To hyphen-case (or to camelCase)
- To hyphen-case (or to snake_case)
- To camelCase (or to words)
- To PascalCase (or to camelCase)
- Capitalize selected text
- Swap case
Un/Escape:
- Un/Escape selected Java text
- Un/Escape selected JavaScript text
- Un/Escape selected HTML text
- Un/Escape selected XML text
- Un/Escape selected SQL text
- Un/Escape selected PHP text
- Convert diacritics(accents) to ASCII
- Convert non ASCII to escaped Unicode
- Convert escaped Unicode to String
Encode/Decode:
- Encode selected text to MD5 Hex16
- De/Encode selected text as URL
- De/Encode selected text to Base64
Increment/Decrement:
- Increment/decrement all numbers found.
- Duplicate line and increment/decrement all numbers found.
- Create sequence - Keep first number, replace all other by incrementing
- Increment duplicate numbers
Sort with natural order:
- Reversing order of lines
- Shuffle lines
- Sort case-sensitive A-z
- Sort case-sensitive z-A
- Sort case-insensitive A-Z
- Sort case-insensitive Z-A
- Sort line length asc., desc.
- Sort lines by subselection - only one selection/caret per line is handled
Align:
- Format selected text to columns/table by a chosen separator/delimiter
- Align text to left/center/right
Filter/Remove/Trim...:
- Grep selected text, All lines not matching input text wil be removed. (Does not work in column mode)
- Trim selected text
- Trim all spaces in selected text
- Remove all spaces in selected text
- Remove duplicate lines
- Keep only duplicate lines
- Remove empty lines
- Remove all newlines
Other:
- Swap Characters/Selections/Lines/Tokens
- Switch file path separators: Windows<->UNIX
Actions are available under Edit menu, or via the shortcut "alt M" and "alt shift M". You can setup your own shortcuts for better usability.