Visual studio code 如何更改VSCode上的JavaScript缩进?
我想这样做。 (阵列不在一行中列出,而是在两行中列出。) 但在我的VSCode中,它不像下图那样缩进Visual studio code 如何更改VSCode上的JavaScript缩进?,visual-studio-code,indentation,vscode-settings,auto-indent,Visual Studio Code,Indentation,Vscode Settings,Auto Indent,我想这样做。 (阵列不在一行中列出,而是在两行中列出。) 但在我的VSCode中,它不像下图那样缩进 我如何设置它?语言是JavaScript。转到用户设置(通过Ctrl+,)并搜索editor.wrappingdent。将值更改为indent或deepIndent,使wrappingIndent起作用, 对于wordWrap,我们需要给出以下值之一: "editor.wordWrap": "on", "editor.wrappingInde
我如何设置它?语言是JavaScript。转到用户设置(通过
Ctrl+,
)并搜索editor.wrappingdent
。将值更改为indent
或deepIndent
,使wrappingIndent
起作用,
对于wordWrap
,我们需要给出以下值之一:
"editor.wordWrap": "on",
"editor.wrappingIndent": "deepIndent"
或
或
"editor.wordWrap": "bounded",
"editor.wrappingIndent": "deepIndent"
"editor.wordWrap": "wordWrapColumn",
"editor.wrappingIndent": "deepIndent"