> On Jun 18, 2015, at 07:08 , Dave <[email protected]> wrote:
> 
> Hi,
> 
> Have you ever seen a header file with a comment that goes on forever on one 
> line?
> 
> For example:
> 
> //                                                    This is a very long 
> line of text that is supposed to be telling me something useful but I can’t 
> see the end of it without scrolling horizontally because the developer 
> couldn’t be bother to insert line returns, all I can say is that they must 
> have gigantic screen to be able to make sense of it!
> 
> Is there a utility I can run that would reformat it so all comment lines are 
> a sensible width?

Virtually all of Apple's files are like this. I don't like turning on wrap 
except in readme files (because I hate it when lines of code are wrapped). A 
search on Stack Overflow turns up a few solutions involving automator. They're 
not perfect, but can probably be made so.

I do wish Xcode would support reformatting comment blocks natively. Filing a 
bug report, you should, too…

-- 
Rick Mann
[email protected]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to