[ phpeclipse-Bugs-1426475 ] Code Assist helps with PHP functions, but not custom ones

"SourceForge.net" <[email protected]> Thu, 10 May 2007 20:44:31 -0700
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1426475, was opened at 2006-02-07 13:17
Message generated for change (Comment added) made by emann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1426475&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Editor
Group: None
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Steve Magruder (smagruder)
Assigned to: Nobody/Anonymous (nobody)
Summary: Code Assist helps with PHP functions, but not custom ones

Initial Comment:
Code Assist doesn't recognize any custom functions I
have written, whether with code completion or seeing
the function params when hoving over the function name
with the cursor.

----------------------------------------------------------------------

>Comment By: Edward Mann (emann)
Date: 2007-05-10 22:44

Message:
Logged In: YES 
user_id=430467
Originator: NO

Code Assists works fine in 1.1.9. I am closing this issue.

----------------------------------------------------------------------

Comment By: Edward Mann (emann)
Date: 2007-05-10 20:53

Message:
Logged In: YES 
user_id=430467
Originator: NO

Code Assists works fine in 1.1.9. I am closing this issue.

----------------------------------------------------------------------

Comment By: Steve Magruder (smagruder)
Date: 2006-02-08 16:41

Message:
Logged In: YES 
user_id=479830

OK, I think I've found out what the problem is, generally.

I reinstalled a clean Eclipse 3.1 with PHPEclipse, and now
Code Assist works as it is supposed to, with regards to
functions within files included within the project.  It's
probable that Web Tools Platform 1.0 (or possibly another
plug-in) was interfering with Code Assist in some way.

Now, this is outside the scope of this bug, and I believe
somebody already brought this up as a feature request, but I
seriously need to be able to include directories from other
Eclipse projects in terms of how Code Assist works.  This is
because I've developed a web framework common to multiple
projects, and it's too much trouble from a development
standpoint to copy all these framework files into each
individual project (esp. when my "old" Zend Studio 3.x
doesn't make me do that).

Thanks!

----------------------------------------------------------------------

Comment By: Bananeweizen (bananeweizen)
Date: 2006-02-08 01:41

Message:
Logged In: YES 
user_id=440739

I don't want to see huge files of any of your projects. If
you can reproduce the problem with a small piece of code,
then I'm fine with it, so just attach that small snippet and
describe at which cursor position you try to invoke the code
assistance.

I don't think this is related to W2K or Eclipse 3.2.

----------------------------------------------------------------------

Comment By: Steve Magruder (smagruder)
Date: 2006-02-07 19:42

Message:
Logged In: YES 
user_id=479830

Also, I'm running Eclipse/PHPEclipse under Windows 2000. 
Could that possibly make a difference?

----------------------------------------------------------------------

Comment By: Steve Magruder (smagruder)
Date: 2006-02-07 15:56

Message:
Logged In: YES 
user_id=479830

I'm using the latest stable version of Eclipse, 3.1.2 (and
the CVS version of PHPEclipse for February 7).  If there was
a difference between 3.1.2 and the upcoming 3.2 that makes a
difference, please confirm.

I'm speaking of globally defined functions.  And I have
specifically set up the appropriate include paths in PHP
Project Settings.

What kind of code example are you looking for?  I would
prefer to limit what I post to as small a snippet as possible.

----------------------------------------------------------------------

Comment By: Bananeweizen (bananeweizen)
Date: 2006-02-07 15:34

Message:
Logged In: YES 
user_id=440739

Do you talk about globally defined functions or class
functions (i.e. functions of object types)? Can you attach
an example PHP file (see controls at the end of the page)?

----------------------------------------------------------------------

Comment By: tmose (tmose)
Date: 2006-02-07 15:10

Message:
Logged In: YES 
user_id=1409310

This works for me in the latest CVS version and eclipse 3.2.
 If hovering over a method i created it provides the proper
information.  It also provides code assist when pressing
<Crtl><Space>.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1426475&group_id=57621

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/