Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio code doesn't show latest version of npm packages on hover

In package.json I used to check latest versions of packages as a "tooltip" with just pass the mouse on each package version, but it doesn't show anymore.
My VSC version is 1.19.2.
I navigate through a proxy.
I've checked that my workspace settings is empty, and my user settings has this:

{
    "vsicons.projectDetection.autoReload": true,
    "window.zoomLevel": 0,
    "vsicons.dontShowNewVersionMessage": true,
    "workbench.iconTheme": "vscode-icons",
    "workbench.startupEditor": "newUntitledFile",
    "explorer.confirmDragAndDrop": false,

    "http.proxy": "____myproxyIP____",
    "http.proxyStrictSSL": false
}

Thx!

like image 999
mikelweb Avatar asked Jan 19 '18 15:01

mikelweb


People also ask

How do I enable npm scripts in Visual Studio Code?

You can simply run your script with npm run my-script. The second even more convenient option is to go to File -> Preferences -> Settings (CTRL+,) and to enable npm. enableScriptExplorer. VS Code will now automatically search for your package.

Where is Tsconfig json in VS Code?

json file, located in the . vscode folder at the root of the workspace. You can open the workspace settings. json via the Preferences: Open Workspace Settings (JSON) command from the Command Palette (Ctrl+Shift+P).


1 Answers

Please check, if you have the correct language mode JSON and not JSONc (JSON with Comments).

Take a look at the bottom right corner.

Correct:

enter image description here

Incorrect: enter image description here

like image 192
Unkn0wn0x Avatar answered Nov 07 '22 10:11

Unkn0wn0x