有没有办法让 VSCode Intellisense 建议在分号之外结束?

Is there a way to make VSCode Intellisense suggestions end outside the semicolon?

Intellisense 建议很方便,因为我很懒,但任何时候我点击 tab/enter 到 select 一个,它都会在 ; 内结束。所以我必须向右箭头并手动添加一个新行。是否有自动完成到 ; 之外的设置或扩展?并有选择地添加新行?甚至只是在分号之外完成。编写许多 CSS 规则时必须在每一行之间向右箭头,这有点麻烦。

Vscodes 在一行的任意位置添加新行的本机方法是 CTRL + Enter

您可以随时使用 CTRL + SHIFT + Enter[=24= 在上方添加新行]

你可以试试:

"editor.acceptSuggestionOnCommitCharacter": true,

Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (;) can be a commit character that accepts a suggestion and types that character