• 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: Code Completion & Nested Obj-C Messages: Wrong Scope
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Completion & Nested Obj-C Messages: Wrong Scope


  • Subject: Re: Code Completion & Nested Obj-C Messages: Wrong Scope
  • From: Mike Jackson <email@hidden>
  • Date: Wed, 14 Jun 2006 11:38:16 -0400


On Jun 14, 2006, at 9:36 AM, Jerry Krinock wrote:

on 06/06/13 9:06, David Ewing at email@hidden wrote:

On Jun 13, 2006, at 4:10 AM, Mason Mark wrote:

I had always assumed this was broken for everybody pretty much all
the time.

It's certainly not broken for most people most of the time. (Unless people are very quiet on the matter - and that's not usually how it works.)

We do know of some limitations, but we're very interested in hearing
any issues people are running into.

I too had thought that Code Sense was fairly broken until I decreased the
time delay in Preferences > Code Sense from 0.5 to 0.1 seconds. My other
settings are:


  "Indicate when completions are availble"
  "Show arguments in pop-up list"
  "Automatically Suggest: On member call / access"

and now I'm pretty happy with it.

Next enhancement: Recognize accessor method names which I have defined using
macros ;)




I'll also jump in and say that code completion is more or less a crap shoot on my system. Sometimes it works but most of the time it does not. I write programs that depend on things like VTK (www.vtk.org) and OpenSceneGraph (www.openscenegraph.org). These are large packages with many headers.
Most of the time code completion does not work at all. Sometimes it works but I have no idea why. Do I have to include _every_ header from VTK into my project? That is like some insane number of header files? All the headers are located in /usr/local/include/VTK.. can I get the code sense index to look in that directory?
Also, code sense most of the time will not even pick up the "std" classes, like string.
So if I do string mystring ("Hello World");, then try "mystring.", nothing shows up when I invoke code completion. Is this normal?


I guess what I would like are some hints from the Xcode team as to how to setup projects, and in fact write our code, so that the indexer has the best chance to index code properly.

Thanks
--------
Mike Jackson
imikejackson <at> gmail <dot> com

PS. Coming from Java/Eclipse to the C/C++/Obj-C side of things was a real shocker. Code completion _always_ worked so that is my "bar" that Xcode should meet. I also realize that language differences my prevent that.


_______________________________________________ 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: Code Completion & Nested Obj-C Messages: Wrong Scope
      • From: David Ewing <email@hidden>
References: 
 >Re: Code Completion & Nested Obj-C Messages: Wrong Scope (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Big .o files normal? solved
  • Next by Date: Wchar_t to 2 bytes
  • Previous by thread: Re: Code Completion & Nested Obj-C Messages: Wrong Scope
  • Next by thread: Re: Code Completion & Nested Obj-C Messages: Wrong Scope
  • Index(es):
    • Date
    • Thread