• 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 Sense/Completion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Sense/Completion


  • Subject: Re: Code Sense/Completion
  • From: David Ewing <email@hidden>
  • Date: Wed, 27 Apr 2005 11:03:09 -0700


On Apr 26, 2005, at 10:50 PM, Ben wrote:

See the closed bug 3785733, filed last year.

This was marked as "not a bug" because I don't compile with xcode, just edit with it.

Ah. This is certainly a "well known" limitation. It's often easy to work around the problem by just creating a native target for your sources, but never use it for building. For better fidelity, add settings to the target that match your external build process.


Dave

On Apr 26, 2005, at 5:51 PM, David Ewing wrote:


Please file bugs for the issues you're seeing: <http:// developer.apple.com/bugreporter>. It's not obvious what's going wrong in what you describe, so including a test case would be invaluable.

Dave

On Apr 22, 2005, at 8:54 AM, Ben wrote:


I had a similar problem with glib; turns out that code completion won't catch symbols included in your project until you compile them with XCode, and given that I use scons to handle my project....

I'm hoping this is fixed in XCode 2, as well as making code completion with many thousands of symbols actually be, you know, faster than I can type, on a G5.

On Apr 22, 2005, at 6:17 AM, Glenn Martin wrote:



Ive noticed a bug in the Code Completion in C/C++ Projects. Ive been working with libxml2 (ive noticed it in MANY other libraries too). the Code completion cannot find the header files, its got the pathing wrong.. I can add the path to the project and thus to the compiler so it compiles but the code sense never picks up the dependencies.. so it assumes the fuctions are invalid as far as the compile is concerned... heres an example...

My "main.c" file:
#include <string.h>
#include <libxml2/libxml/encoding.h>
#include <libxml2/libxml/xmlwriter.h>

libxml2's "xmlwriter.h" file:
#ifndef __XML_XMLWRITER_H__
#define __XML_XMLWRITER_H__

#include <libxml/xmlversion.h>

#ifdef LIBXML_WRITER_ENABLED

#include <stdarg.h>
#include <libxml/xmlIO.h>
#include <libxml/list.h>
#include <libxml/xmlstring.h>

notice how my pathing includes "libxml2/"?... thats because the file is located at /usr/local/include/libxml2/libxml/ xmlwriter.h ... but its internal references dont contain the libxml2 path... How can i make the editor look in /usr/local/ include/libxml2 like it does /usr/local/include/?

I can do it in the project for the compiler but i cant seem to for the editor... Both the Borland and MS products can do that on windows... IDK... if you cant then it seems like XCode is missing what id consider an important feature.

Thank
Glenn Martin _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40silentmedia.com


This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden







_______________________________________________ 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: 
 >Code Sense/Completion (From: Glenn Martin <email@hidden>)
 >Re: Code Sense/Completion (From: Ben <email@hidden>)
 >Re: Code Sense/Completion (From: David Ewing <email@hidden>)
 >Re: Code Sense/Completion (From: Ben <email@hidden>)

  • Prev by Date: Re: Using deployment C++ library with development target, how?
  • Next by Date: Re: mysterious breakpoint?
  • Previous by thread: Re: Code Sense/Completion
  • Next by thread: Re: Code Sense/Completion
  • Index(es):
    • Date
    • Thread