Comments (4)
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.
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.
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.
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)
- Not working with atom 1.42 HOT 3
- Indexing hangs endlessly HOT 6
- Entity of type 'Serenata\Indexing\Structures\File' for IDs id (5e432cbfbc39f0.02567169) was not found HOT 4
- Suggestion: Add option to disable php-ide-serenata.general.projectOpenCount HOT 2
- Autocomplete does not automatically show suggestions due to prefix override workaround HOT 22
- serenata php process not killed if xdebug is enabled HOT 3
- Indexing files are stored in /tmp instead of storage path HOT 3
- GLOBALS variables autocompletion problem HOT 1
- package spawning the process HOT 2
- Outline not working HOT 1
- How to import namespaces? HOT 5
- How to go to definition with ctrl + left mouse click? HOT 8
- Neither classname nor php built-in function hint in atom? and class member hint is also abnormal.
- Not well imported class name not hinted by integrated lint HOT 1
- Hyperclicking appends the path to the file twice HOT 2
- serenata not work at my end HOT 3
- Looking for a new maintainer HOT 1
- Signature help is not shown until writing a comma in a string
- Atom is dead, long live Atom HOT 3
- Installation blocked due to undefined variable in ServerManager HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-ide-serenata.