html - 在 VS Code 中禁用 HTML 注释的自动关闭

标签 html autocomplete visual-studio-code comments

我有

"html.autoClosingTags": false,
"editor.autoClosingBrackets": false

在我的设置中,它适用于除 HTML 注释之外的所有标签。当我输入 <!--它会自动完成 --> .我在编辑器和 HTML 中查看了其他选项,但找不到如何关闭它。

最佳答案

将您必须的第二个设置更改为:

"editor.autoClosingBrackets": "never"

那应该解决它。

关于html - 在 VS Code 中禁用 HTML 注释的自动关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51311707/

相关文章:

c# - 在新的 Azure Functions 项目中重复 'System.Reflection.AssemblyCompanyAttribute' 属性

html - 关于媒体查询的问题

javascript - 如何计算javascript中的最大登录尝试次数?

django - PyCharm 和 Django 的请求对象自动完成

ios - 以相同的方式在 GMSAutocomplete 中使用文本字段而不是搜索栏

c# - Visual Studio Code - .NET Core 测试资源管理器

git - 在 Visual Studio Code 的命令面板中删除远程 Git 分支(Ctrl+Shift+P)

javascript - Jquery slideToggle 缓慢且在 DOM 树顶部没有响应

html - 一旦屏幕尺寸改变,就停止在彼此下方显示 html 按钮

python - 代码完成 Pydev Django 模型外键字段