Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Intermittent Autocomplete Issue for Eloquent Models in VS Code Extension #248

Open
salahdidi opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels

Comments

@salahdidi
Copy link

salahdidi commented Feb 11, 2025

Extension Version

0.1.18

PHP Binary

Local PHP

Operating System

Linux

What happened?

Image

Title: Intermittent Autocomplete Issue for Eloquent Models in VS Code Extension

Description:
The autocomplete for Eloquent models in the VS Code extension works inconsistently. Roughly 1 in 100 times it suggests model properties/methods, but most of the time, it doesn't work.

Steps to Reproduce:

  1. Type Model::where('') – No autocomplete appears.
  2. Type:
    $model = new Model;
    $model->con...
    No suggestions for properties/methods appear.
  3. Try Model::W... – Sometimes, no autocomplete is shown.

Expected Behavior:

  • The extension should consistently suggest model methods and properties.

Actual Behavior:

  • Autocomplete rarely appears, making it unreliable.

Additional Info:

  • I've attached an image showing the issue.
  • This happens for both Model::query() methods and when instantiating a new model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants