windows中,vscode格式化代码快捷键是“shift+alt+f”;在mac中,vscode格式化代码快捷键是“shift+option+f”;在ubuntu中,vscode格式化代码快捷键是“ctrl+shift+i”。
本教程操作环境:windows7&&macos big sur&&ubuntu11.04系统、dell g3电脑、visual studio code 1.53.2版。
visual studio code可以通过以下快捷键 格式化代码:
on windows shift + alt + f
on mac shift + option + f
on ubuntu ctrl + shift + i
推荐学习:《vscode教程》
以上就是vscode格式化代码快捷键是什么的详细内容。