Home > database >  Turn off VSCode "Convert to named function" hint
Turn off VSCode "Convert to named function" hint

Time:10-10

I personally prefer arrow funtion than JS named funtion. but that light bulb keep annoying me, it even hide my code sometimes ( yes, it in row 1 of editor ).

All I want is disable it. I tried some setting in settings.json but not found it.

VSCode Hint

CodePudding user response:

There's currently no way of disabling this specific feature as of v1.71.2

You can however turn suggestions from showing up by adding this to your settings.json:

"editor.lightbulb.enabled": false,

However - it's still accessable through ⌘ . on Mac OS X or ctrl . on Windows. It just doesn't show up and block anything.

  • Related