XML 使用 VS 代码插件缩进
XML indentation using plugin for VS code
我正在寻找一种方法来使用插件 VS Code Pretty Formatter 或 ident XML 文件的其他插件及其 类 两种方式:块和内联。
有什么方法可以获得类似的结果吗?是否可以创建键盘快捷键?
例如:
XML extension can format XML files, and the default shortcut key is Shift+Alt+F
(or select Format Document
in the command palette). You can change the formatting style with xml.format.splitAttributes
in the settings.
我正在寻找一种方法来使用插件 VS Code Pretty Formatter 或 ident XML 文件的其他插件及其 类 两种方式:块和内联。 有什么方法可以获得类似的结果吗?是否可以创建键盘快捷键?
例如:
XML extension can format XML files, and the default shortcut key is Shift+Alt+F
(or select Format Document
in the command palette). You can change the formatting style with xml.format.splitAttributes
in the settings.