• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode editor preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode editor preferences


  • Subject: Re: XCode editor preferences
  • From: Jerry <email@hidden>
  • Date: Thu, 25 Nov 2004 09:07:53 +0000


On 25 Nov 2004, at 00:15, Mike Lazear wrote:


On Nov 24, 2004, at 11:32 AM, Jon Guyer wrote:


On Nov 24, 2004, at 2:24 PM, Jerry wrote:

This is interesting. I'm wondering if this is a bug in XCode which is related to the fact that pretty well all the code I work on has DOS line endings (because we're cross-platform and our Windows-based SCC system can't cope with Mac or Unix line endings). There seems to be a common theme of "end-of-line" to all three problems, and I was thinking that they were a design feature, but it's looking like a bug. I'll investigate further and do some Radaring if necessary.

Even before you mentioned this, I was beginning to suspect that you had mixed line endings. My guess is that some of your file has got CRLF and some of it has got LF and that XCode is getting a bit befuddled.

I was told by someone at Apple if you select all of the text in a file and select Format, Re-Indent that it will clean up the line endings. I don't know if that will help you or not but it's worth a try. I needed it because I was having problems with the debugger breakpoints breaking somewhere other than where the breakpoint was set.

Yes! Me too! It makes debugging a bit of a chancy affair, and the same thing happens with compiler error messages going to the wrong line. It looks like all my biggest XCode irritations are down to one problem, but the line ending thing never occurred to me before I posted to the list. I'll certainly give this Re-Indent thing a go, but I hope it doesn't cause our SCC system to blow up.


Thanks for the help everyone,

Jerry

_______________________________________________
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


References: 
 >XCode editor preferences (From: Jerry <email@hidden>)
 >Re: XCode editor preferences (From: Markian Hlynka <email@hidden>)
 >Re: XCode editor preferences (From: Jerry <email@hidden>)
 >Re: XCode editor preferences (From: Jon Guyer <email@hidden>)
 >Re: XCode editor preferences (From: Mike Lazear <email@hidden>)

  • Prev by Date: Re: Timed out fetching data
  • Next by Date: Re: debugger sticky breakpoint
  • Previous by thread: Re: XCode editor preferences
  • Next by thread: Re: XCode editor preferences
  • Index(es):
    • Date
    • Thread