The Text Toolset adds some helpful Xcode editor tools to change and transform your source code, for free.
Adds these editor features:
• Toggle Block Comment
• Copy Line
• Duplicate Lines
• Delete Lines
• Uppercase Selections
• Lowercase Selections
• Prettify JSON Selection
• Compact JSON Selection
• More coming soon...
Developers commonly use these keyboard shortcuts for the above actions:
- Block Comment: cmd+ctrl+/
- Duplicate Lines: ctrl+shift+D
- Delete Lines: ctrl+shift+K
The features are available in Xcode 8+, under the "Editor" menu, then select "Text Toolset." Make sure a source editor is focused. You may need to enable the Extension in "System Preferences -> Extensions -> Xcode Source Editor".
You can add keyboard shortcuts to the actions in Xcode preferences, under "Key Bindings."
Soli Deo gloria