簡體   English   中英

如何在 Ubuntu 上的 VS 代碼中格式化 HTML 代碼?

[英]How to format HTML code in VS Code on Ubuntu?

我已經在 VS Code 上安裝了更漂亮的擴展,並使用了這個快捷方式 - Ctrl + shift + I 但這對我不起作用。

也試過這個 - 將 VSCode 首選項html.format.wrapAttributes設置為force 但什么也沒有發生。

如果您指的是“格式化文檔”,則只需按F1並搜索Format Document或只需按Shift + Alt + F

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM