【发布时间】:2018-08-15 07:29:58
【问题描述】:
【问题讨论】:
标签: visual-studio-code indentation vscode-settings auto-indent
【问题讨论】:
标签: visual-studio-code indentation vscode-settings auto-indent
转到用户设置(Ctrl + ,)并搜索editor.wrappingIndent。将值更改为indent 或deepIndent。
【讨论】:
为了wrappingIndent 工作,
我们需要为wordWrap 提供以下值之一:
"editor.wordWrap": "on",
"editor.wrappingIndent": "deepIndent"
或
"editor.wordWrap": "bounded",
"editor.wrappingIndent": "deepIndent"
或
"editor.wordWrap": "wordWrapColumn",
"editor.wrappingIndent": "deepIndent"
【讨论】: