小萨博客

VSCode配置 解决写html代码Tab键无法自动补全代码的问题

文件-首选项-设置-扩展-Emmet-在settings.json中编辑,

插入如下代码:

		"emmet.includeLanguages": {
			"javascript": "javascriptreact"
		}

实际样例如下:

{
	"folders": [
		{
			"path": "D:\\Project"
		}
	],
	"settings": {
		"workbench.colorCustomizations": {
		},
		"emmet.excludeLanguages": [
			

			"markdown"
		],
		"emmet.includeLanguages": {
			"javascript": "javascriptreact"
		}

	}
}

posted on 2021-01-23 09:26  萨姆老了  阅读(351)  评论(0编辑  收藏  举报

导航