• 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: prototypes in function popup menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prototypes in function popup menu


  • Subject: Re: prototypes in function popup menu
  • From: Heath Raftery <email@hidden>
  • Date: Thu, 10 Jun 2004 23:22:55 +1000

Hi Markian,

On 10/06/2004, at 10:29 AM, Markian Hlynka wrote:

> why don't function prototypes show up in my function popup menu in
> xcode?

They do.

> ie, I have a .h file with:

I copied and pasted your code into a new .h file and everything
appeared in the menu as you expect. The defined function appeared in a
plain typeface, while the prototypes appeared in italics.

> For that matter, why do I have to use #pragma for types:

You don't.

I copied and pasted your example code to the end of the header file I
just created, saved, and in the function drop down menu appeared the
divider, the heading and the typedef, as I think you'd expect.

> BBEdit, to cite my favourite example, automatically identifies the
> correct types and displays them in the function popup with the correct
> (typedefed) name. Why can't xcode do this?!

It does. Something broken about yours I'm afriad! I couldn't find
anything in the Preferences which might be relevant (except maybe the
file types try which identified .h files as Default (Source file) ) and
I certainly didn't do anything special to get this to come up.

For the sake of Markian, I've attached a screen shot of what I see. I
imagine the list will drop it though (at least I hope it does!).
--
  ________________________________________________________
|   Heath Raftery                                        |
|   email@hidden                               |
|   *If I were two-faced, would I be wearing this one?*  |
|                                        _\|/_           |
|_______________________________________m(. .)m__________|

[demime 0.98b removed an attachment of type image/jpeg which had a name of functions.jpg; x-mac-creator=70727677; x-unix-mode=0644; x-mac-type=4A504547]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: prototypes in function popup menu
      • From: Markian Hlynka <email@hidden>
References: 
 >prototypes in function popup menu (From: Markian Hlynka <email@hidden>)

  • Prev by Date: Re: Xcode Project References
  • Next by Date: Re: Xcode Project References
  • Previous by thread: prototypes in function popup menu
  • Next by thread: Re: prototypes in function popup menu
  • Index(es):
    • Date
    • Thread