Visual Studio Code suggests the right parameters for well defined methods as you type them. Is there a way to take them over / insert them straight away? Doesn't feel right to write the parameters with their types by hand...
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Something like that exists for javascript
& typescript
files:
settings.json Ctrl+,
"typescript.useCodeSnippetsOnMethodSuggest": true,
// from vscode 1.28
"typescript.suggest.completeFunctionCalls": true,
"javascript.suggest.completeFunctionCalls": true,