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

autocomplete for array shape #7804

Closed
ging-dev opened this issue Mar 21, 2022 · 2 comments · Fixed by #10230
Closed

autocomplete for array shape #7804

ging-dev opened this issue Mar 21, 2022 · 2 comments · Fixed by #10230

Comments

@ging-dev
Copy link
Contributor

I'm using Psalm Language Server with a few problems:

/** @var array{name: string, deep: array{name: string}, generic: Type<B>} $data **/
....
$data[// psalm can suggest name, deep, generic

$data['deep'][// can't suggest
$data['generic']-> // can't suggest

Is it possible to improve the autocomplete for array?

@psalm-github-bot
Copy link

Hey @ging-dev, can you reproduce the issue on https://psalm.dev ?

@tm1000
Copy link
Contributor

tm1000 commented Mar 31, 2022

@orklah can you assign this to me. I will work on it in my work on Language Server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants