簡體   English   中英

如何更改 html 快捷方式的默認值“!” 在 vsc 中? (這樣我就可以添加更多的 html 代碼)

[英]How can I change the default of the html short-cut "!" in vsc ? (So that I can add more html code)

使用感嘆號!(在 Visual Studio Code 中),您可以輕松快速地構建標准 html 結構。 我想向這個標准的 html 結構添加更多代碼以增加工作流程。

聽起來您正在尋找一種在鍵入時插入 HTML 樣板的方法! . 如果是這樣,答案是 VSCode“代碼段”,當您鍵入某個字符時會建議使用它,並擴展為您定義的任何內容。

這是官方文檔的鏈接: https : //code.visualstudio.com/docs/editor/userdefinedsnippets

暫無
暫無

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

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