Array key hinting triggering propositions

已回答

When I document an array with its string keys in a PHPDoc, and do so in PHPStorm, the IDE automatically proposes the according keys before the first use:

In IntelliJ, this does not work. Is this a PHPStorm-only feature? And we would also love to have that feature being implemented in the next PHPStorm version 2023.2 for generic object property declarations. Or is this also only upcoming in PHPStorm, and not IntelliJ?

0

Both the array shape and object shape features are a part of the Psalm plugin; please make sure you have it installed in IDEA.

0

请先登录再写评论。