Array key hinting triggering propositions
Answered
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?
Please sign in to leave a comment.
Both the array shape and object shape features are a part of the Psalm plugin; please make sure you have it installed in IDEA.