当单词被换行时,如何在同一空间对齐文本?

问题描述 投票:0回答:1

image of my problem

我很期待如果它们在调整大小时被包裹,我该如何保持它们的空间。例如,

bg-center
必须在
<div className="----"
的正下方。我该怎么做?

我已经尝试通过设置并在谷歌中搜索,但没有任何符合我的问题。

visual-studio-code whitespace word-wrap
1个回答
0
投票

您的设置中似乎有

"editor.wrappingIndent": "none"
。尝试将其设置为其他内容,例如
"same"
"indent"
"deepIndent"

© www.soinside.com 2019 - 2024. All rights reserved.