简体   繁体   English

调用函数时VSCode不会自动关闭括号

[英]VSCode doesn't automatically close parentheses when calling functions

When you write JS in VSCode, you don't automatically close the parentheses after calling a function, for example: There is a function school(){}, I call this function in VSCode to prompt the function name school, but no matter I press TAB or enter, the type is only the function name, I need to write the small parentheses, do not know what good solution When you write JS in VSCode, you don't automatically close the parentheses after calling a function, for example: There is a function school(){}, I call this function in VSCode to prompt the function name school, but no matter I按TAB或者回车,type只有function这个名字,需要写小括号,不知道有什么好办法

Because Function has its own properties, methods, ... You can use one of them for your work.因为 Function 有自己的属性、方法……您可以将其中之一用于您的工作。 Writing the small parentheses is not hard.写小括号并不难。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM