Re: Pet Hate......
Re: Pet Hate......
- Subject: Re: Pet Hate......
- From: Rick Mann <email@hidden>
- Date: Thu, 18 Jun 2015 16:01:30 -0700
> On Jun 18, 2015, at 07:08 , Dave <email@hidden> 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@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden