Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8870827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:49:58+00:00 2026-06-14T17:49:58+00:00

The orgional problem was that for some files the autocomplete would not complete things

  • 0

The orgional problem was that for some files the autocomplete would not complete things like “self” and “public” and if I would type self:: it would not show a list of functions.

The other problem was that for some files it would complete but not show functions of PHPUnit_Framework_TestCase when the class extends that so typing $th would complete to: “$this->” but the resulting list would not show assertEquals (which is a function of PHPUnit_Framework_TestCase).

Solved the first problem by changing:

throw(new Exception("Something wrong with the datastore",666));

to

throw new Exception("Something wrong with the datastore",666);

(taken the throw parameter out of it’s parentheses)

To add autocomplete for 3rd party libraries like phpunit do the following:

under project=>properties
  =>php include path (list on the left)
  =>libraries tab
  =>add external source folder
  =>added /usr/share/pear/PHPUnit/
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:50:00+00:00Added an answer on June 14, 2026 at 5:50 pm

    For Eclipse to hint base class methods, the file containing that class must either be a part of current project, or linked to it. Navigate to Project -> Properties -> PHP Include Path; you can permanently add an external library / source folder to your project there.

    As for Eclipse not hinting self and $this, are you sure you’re typing inside of a class method? Obviously, these words have no use anywhere else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing some computer vision tools with openCV, but every time that
Is that possible to map a color to a color name like below: light
My problem: I have code in Java that I need to port to Objective-C
below is the code that works fine but the only problem i have is
I would prefer to use .slideToggle and 3 lines of code but not sure
I just changed a classic asp page to load a div with some data
So I was calling the Controller in MVC2 like this and I accessed the
If I have XML like this: <sample> <a:element1 xmlns:a=... /> <b:element2 xmlns:b=... /> </sample>
I'm having a bit of trouble with what should be a simple problem. I
I have a sql database that querys the histroy data of engines. One of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.