• 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 C/C++ auto-indent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: XCode C/C++ auto-indent


  • Subject: re: XCode C/C++ auto-indent
  • From: George Warner <email@hidden>
  • Date: Wed, 27 Oct 2004 12:21:08 -0700

On Wed, 27 Oct 2004 19:14:06 +0100 (BST), M S <email@hidden>
wrote:
> I have the auto-insert '}' option enabled, and it's
> quite nice the way it puts a closing bracket in for
> you. It's not so good when you ad a second opening
> brace however, as it messes up the indentation. This
> what I get after inserting the second brace:
>
> void dummy_function (void)
> {
>         for (int i=0; i<99; i++)
>                 {
>
>                 }
> }
> How can I get the braces to line up vertically with
> the for statement?

Set the "Solo "{" indent" to zero.

--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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

  • Prev by Date: Re: More about cross compiling
  • Next by Date: Re: XCode makes easy things hard...
  • Previous by thread: XCode C/C++ auto-indent
  • Next by thread: Please help: debugger has stopped displaying variables
  • Index(es):
    • Date
    • Thread