Comments (3)
I have encountered similar issues, but for me the problem was opening the editor and not having the vendor dependencies installed and hence they ware not indexed on startup, maybe try to Clear cache and reload
?
Also, can you verify that "files.exclude"
setting does not include **/vendor/
, since (Just tested and checked the code) if you have it VSCode will not report the folder inside the wokspace
namespace, which is the way the client indexes the workspace, and if it does not "see" it it won't index it.
(Just validated the behaviour, with "files.exclude" - 57 files indexed; without - 1272)
from vscode-intelephense.
One thing to check is if you have added any values to files.associations
make sure you have included "*.php":"php"
as well.
from vscode-intelephense.
seems to work for me.
Just type Use
then the name of the Class
, select the proper class and press Tab
.
from vscode-intelephense.
Related Issues (20)
- Incorrect hover on anon fn named args
- Expected type 'string|Stringable'. Found 'Illuminate\Database\Eloquent\Builder'. HOT 1
- Autocompletion: inexplicable behaviour for different PHP-Intelephense versions HOT 1
- PSR12 differents results with CS FIXER HOT 1
- Type checking not checking string, bool, etc. HOT 2
- Destructuring array with skipped variables gives the wrong type hint
- Protected Functions Showing In Auto Complete For Class That Extends Same Parent. HOT 2
- Incorrect indent after next line style chan call.
- Can't fing a php.exe HOT 2
- No match expr folding
- Suggestion based on property typing when using "new"
- Can't enter License Key HOT 1
- get_author_name HOT 1
- `@template-implements` not recognized for `IteratorAggregate` HOT 2
- Is this project abandoned? HOT 1
- Deprecate implicitly nullable parameter types
- Double $ is not marked as error HOT 3
- Intelephense only index the opened file HOT 2
- Support `@type` and `@import-type` type aliases
- Support `key-of`, `T[K]` types
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 vscode-intelephense.