phpstormwebstorm

How to see the latest version of the package in package.json?


Using PhpStorm 2021.1.4 In composer.json of my project with current version of any package I see latest version of this package, but package.json does not show this option.

This is what I see in composer.json:

ehttps://prnt.sc/26q0i2s

But what I see in package.json:

https://prnt.sc/26q0j4m

Is it configurable somehow ?


Solution

  • Inside Intellij Idea & WebStorm/PhpStorm you can go to package.json and hover+Cmd key (windows Ctrl key) the package name and a nice tooltip with the latest version will pop up, for example:

    enter image description here