How to change the built-in snippet? of the system by vscode

for example, the snippet,tab code snippet of function looks like this:

function name(params) {
            
}

I want to get rid of this params, because sometimes you don"t need a parameter, so of course you can"t use this when you need it, so I want to change it. Is there anything I can do about it?

Mar.05,2021

have some plug-ins installed?


two methods

  1. remove the preferences and create a new code snippet in the user code snippet
  2. find the configuration file of javascript and modify the configuration of function

Menu