【问题标题】:Is there a VS Code shortcut that aligns/idents lines of code? [duplicate]是否有对齐/标识代码行的 VS Code 快捷方式? [复制]
【发布时间】:2021-07-11 08:48:55
【问题描述】:

我在 VS Code 中找不到对齐/识别代码行的快捷方式。

an example

what i want the shortcut to do

【问题讨论】:

  • 您不希望所有代码都在一行中。您希望行彼此对齐,大概是根据标签在 DOM 中的嵌套级别缩进。
  • @underscore_d 准确

标签: visual-studio-code keyboard-shortcuts


【解决方案1】:

你可以在vscode插件上搜索lonefy并下载!每当您保存文件时,它都会像您想要的那样缩进。

【讨论】:

    猜你喜欢
    • 2018-07-05
    • 2018-09-27
    • 2022-09-27
    • 1970-01-01
    • 2017-07-04
    • 2017-07-30
    • 2015-10-05
    • 2011-06-23
    • 1970-01-01
    相关资源
    最近更新 更多