Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Sense/Completion



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:
http://lists.apple.com/mailman/options/xcode-users/bench% 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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Code Sense/Completion (From: Glenn Martin <email@hidden>)
 >Re: Code Sense/Completion (From: Ben <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.