VSCode: keeping indents on empty lines

后端 未结 5 1437
日久生厌
日久生厌 2020-12-29 20:41

Is it possible to make VSCode keep indents on empty lines?

Could not find such a setting neither natively nor in \"Beautify\" extension.

Example of desired b

5条回答
  •  抹茶落季
    2020-12-29 21:04

    Bit of an old question, but I found that a combination of the settings:

    "editor.trimAutoWhitespace": false,
    "editor.renderWhitespace": "all"
    

    ...worked for me.

提交回复
热议问题