App is deprecated.Last check on Apr 20, 2024.
Comment Wrapper for Xcode

Comment Wrapper for Xcode

App Report, Market and Ranking Data
category
price
Free
Reviews
3.5 (5)
United States United States
Description
Comment Wrapper is an Xcode source editor extension that can format comments to wrap at a certain line length.


WRAPPING COMMENTS:

You might have a comment that looks like this:

/// This is a long comment that descripes some behavior. Long comments are difficult to read because they become very long horizontally. We often place limits on how many columns wide our code should be in order to improve readablity, but this can be more difficult to achieve with comments

Using Comment Wrapper to wrap the text at a line length of 80 results in the following:

/// This is a long comment that descripes some behavior. Long comments are difficult
/// to read because they become very long horizontally. We often place limits on how
/// many columns wide our code should be in order to improve readablity, but this
/// can be more difficult to achieve with comments


UNWRAPPING COMMENTS:

Want to edit a wrapped comment? No problem, use the Comment Wrapper's 'unwrap' functionality to revert a comment to it's original format


RE-WRAPPING COMMENTS:

Once you've wrapped a comment, you might want to edit it in place, although adding or removing characters an a particular line will make it too long or too short. You can use Comment Wrapper's 're-wrap' functionality to re-wrap the comment.

Original comment (wrapped at a line length of 60:

// This code performs actions 1, 2 and 3 on any input a, b or
// c. Any action that's passed in must conform to firstProtocol
// and secondProtocol. The result will be of a type x, y or z.

After editing:

// This code performs actions 1, 2 and 3 on any input a, b or
// c. Any action that's passed in must not confrom to XYZProtocol but must conform to firstProtocol
// and secondProtocol. The result will be of a type x, y or z.

After Re-wrapping:

// This code performs actions 1, 2 and 3 on any input a, b or
// c. Any action that's passed in must not confrom to
// XYZProtocol but must conform to firstProtocol and
// secondProtocol. The result will be of a type x, y or z.


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
Category Ranking
Not enough information to display the data.
Review Breakdown
Not enough information to display the data.
Screenshots
Reviews

Works well, useful time-saver

Other reviews have pointed out that this only supports 40/60/80 widths, however apart from this limitation the extension is great. Especially given that this is a completely free utility, it works reliably and does exactly what it was intended to.

XcodeUser2834Tue, Aug 11, 2020
United StatesUnited States

Works well

But it should allow user input for the character widths others are requesting. Additionally, using Swift, which is rather popular these days, most comments are indented, but when wrapping with this plugin, all lines after the first are *not* automatically indented, nor do they utilize compensation for indenting after the fact.

mredigSun, Jun 16, 2019
United StatesUnited States

Needs work

Useless to me, since my line widths are 100 chars, and the extension only supports 40, 60 or 80. Worse, if I select comment lines wrapped to 100 chars and try to wrap them to 80, it doesn't wrap correctly. I realize people use different line widths, but does _anyone_ use less than 80 chars? The 40 and 60 options seem silly. Why not remove those and add 100 and 120? Even better, give the app itself a minimal UI that allows customizing the wrap width.

sneJThu, Feb 28, 2019
United StatesUnited States

Decent, but doesn't support wider margins than 80

This works great for 40, 60, and 80 character widths, but doesn't do any others. It would be great if it supported 100, 120, etc., and even better would be for it to support arbitary widths.

logic_errorTue, Oct 9, 2018
United StatesUnited States
Download & Revenue
DOWNLOAD N/AMar 2024Worldwide
REVENUEN/AMar 2024Worldwide
download revenue
About
Bundle Id
com.stevebarnegren.xcodecommentwrapper
Min Os. Version
11.1
Release Date
Thu, May 3, 2018
Update Date
Thu, May 6, 2021
Content Rating
Has IMessage
No
Support Watch
No
Support Siri
No
File Size
530.54kB
Has Game Center
No
Family Sharing
No
Support Passbook
No
Supported Languages
English
What's New
version
1.1
updated
2 years ago
- Correctly identifies Markdown code blocks
- Correctly identifies Markdown links
Newsletter

Subscribe our newsletter and get useful information every week.

Publisher's Other Apps

Stay Ahead of the Market with StoreSpy
Never miss opportunities
Watch your competitors closely
Start boosting your app right away
Start Now
stay a head