vscode-extensionsvolar

Visual studio code volar volar.inlayHints.eventArgumentInInlineHandlers settings


enter image description here

Interesting issue where I have 2 .vue files with code. One looks nice (no intrusive hints) but the other shows attached screen (ANNOYING AF). Note that this code is a direct lift from vue.org tutorial so it isn't my code. I found the config setting in defaultSettings.json HOWEVER its read only :).

Google comes back with no real answer to my problem so how do I solve this?

Tried editing the settings file where I could see this options exists but it's locked


Solution

  • PROBLEM SOLVED

    For those of us new to VSC. Basically you open up settings.json (CTRL + SHIFT + P settings.json) which for me bought back an empty json file. I realised that maybe this is a global settings file that would override defaultSettings.json.

    Simply adding this entry solved my problem: "volar.inlayHints.eventArgumentInInlineHandlers": false