Skip to content

SteveBarnegren/XcodeCommentWrapper

Repository files navigation


Comment Wrapper
Comment Wrapper

min

An Xcode Source Editor extension that wraps your comments

2018-04-26 21_32_28

Want to edit your comments? Comment Wrapper can re-wrap edited comments

2018-04-26 21_45_41

Features

  • Maintains your leading comment prefix (eg. //, ///)
  • Maintains indenting
  • Wraps at line lengths of 40, 60 or 80
  • Re-wraps edited comments
  • Wrapping documentation? Won't wrap your code examples

Installation

Either:

Then:

  1. Run the application (you can quit it after this)
  2. Open System Preferences
  3. Open the Extensions pane
  4. Find CommentWrapper and enable Xcode Source Editor extension
  5. Highlight some code in Xcode and choose an action under Editor -> Comment Wrapper

Author

@SteveBarnegren

License

Comment Wrapper is available under the MIT license. See the LICENSE file for more info.