Giter Club home page Giter Club logo

Comments (4)

 avatar commented on September 28, 2024

This may be a bug or just the indexing that's not ready yet. At startup, your (autoload) classmap is parsed for all classes, which are then indexed (this is when the 'Indexing' progress bar is displayed at the bottom). This is used as the 'index of all classes'. However, this 'large index' is only used for autocompleting class names, not for actual member completion. The latter happens on-the-fly using autoloading and reflection, hence for member autocompletion there should be no need to index anything.

In short, this should be working fine (I do it fairly often, too). Are there any specific steps you use to reproduce this problem? Such as opening a project in an existing window? If this is a new project, has the 'indexing' progress bar disappeared yet when this fails?

from php-ide-serenata.

wcatron avatar wcatron commented on September 28, 2024

Do you have a test project repository? I was going to create one real fast with a standard intro to CS class set: people who own cars.

from php-ide-serenata.

 avatar commented on September 28, 2024

I do have a test project locally, but over time it's become so messy while testing various things that it's not really in any state to be shared anymore ;-).

from php-ide-serenata.

wcatron avatar wcatron commented on September 28, 2024

So after a bit of testing I found the problem. My autoload.php could not resolve on my local computer because I had a $_SERVER setting up a debugging framework.

Solution
Wrap in isset.

use Rollbar;

$config = array(
    'access_token' => 'XXXX',
    'environment' => (isset($_SERVER['environment']) ? $_SERVER['environment'] : 'local'),
    'root' => (isset($_SERVER['sh_root_directory']) ? $_SERVER['sh_root_directory'] : 'local')
);
Rollbar::init($config);

Hope this helps someone.

from php-ide-serenata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.