简体   繁体   English

HTML中的CSS自动完成或Sublime Text 3中的建议

[英]CSS within HTML auto complete or suggestion in Sublime Text 3

Is there a way to set Sublime Text to suggestion or autocomplete html classes like: 有没有一种方法可以将Sublime Text设置为建议或自动完成的html类,例如:

<div style="border: <suggestions here>"</div>

Thanks. 谢谢。

It should be automatically enabled for HTML, according to http://www.sublimetext.com/docs/3/auto_complete.html . 根据http://www.sublimetext.com/docs/3/auto_complete.html ,应为HTML自动启用它。

You need to enter a < character first before the dropdown menu occurs. 下拉菜单出现之前,您需要先输入<字符。 Then hit tab to select the highest ranked suggestion, or select it manually from the menu. 然后点击标签以选择排名最高的建议,或从菜单中手动选择它。

I guess all you need is to download the below package from Git Hub..give it a try.. 我想您所需要做的就是从Git Hub下载以下软件包。

https://github.com/alienhard/SublimeAllAutocomplete https://github.com/alienhard/SublimeAllAutocomplete

从程序包控制中安装程序包,然后安装引导程序自动完成插件,它将在下拉列表中显示所有建议

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM