• 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: Is there still no way to just compile a single file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there still no way to just compile a single file?


  • Subject: Re: Is there still no way to just compile a single file?
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 16 Jul 2013 13:19:17 -0700

On Jul 16, 2013, at 11:41 , Tom Davie <email@hidden> wrote:

Preferences -> General -> Continue building after errors.

Sure, that's a youcan solution, but it doesn't address a genuine issue -- Xcode being non-deterministic about whether the file you're looking at is syntax-checked or non-syntax-checked-yet AND there being a few situations where it matters.

However, I can foresee a future where Xcode's behavior solves one or other of these conditions, in which case it would no longer be an issue. 

IAC, it's already been strongly hinted that Xcode 5 might be bringing a different solution.

In all fairness, the “compile one file” solution won’t work here either – which code unit should Xcode compile if you’re editing a header?

It really does happen that you know which four (say) files the header fix will affect, and you want to finish with those files before moving on to an unrelated set of errors.

Unfold the error – you’ll get a list of “in file include by x.h; in file included by y.h; in file included by z.m”

I was saying that there is nothing to unfold. There is no direct indication that there's an error.

If you happen to go to the relevant indirectly-included header, you'll see an error icon there, but that's not a lot of help if you don't know there's actually an error, or where it is. The problem may manifest itself as a lack of syntax coloring, or some other apparent Xcode "misbehavior", in the original source file.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Is there still no way to just compile a single file?
      • From: Rick Mann <email@hidden>
References: 
 >Is there still no way to just compile a single file? (From: Rick Mann <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Jens Alfke <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Gerd Knops <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Jens Alfke <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Jeffrey Walton <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Gerd Knops <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: "Mills, Steve" <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Fritz Anderson <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Steve Mills <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Quincey Morris <email@hidden>)
 >Re: Is there still no way to just compile a single file? (From: Tom Davie <email@hidden>)

  • Prev by Date: Re: Is there still no way to just compile a single file?
  • Next by Date: Re: Is there still no way to just compile a single file?
  • Previous by thread: Re: Is there still no way to just compile a single file?
  • Next by thread: Re: Is there still no way to just compile a single file?
  • Index(es):
    • Date
    • Thread