简体   繁体   English

Sublime 中的自动完成

[英]Auto Complete in Sublime

When I write HTML in Sublime Text 3, when I write div or class it auto completes to: div="hi" and class="hi".当我在 Sublime Text 3 中编写 HTML 时,当我编写 div 或 class 时,它会自动完成:div="hi" 和 class="hi"。

I would like it to autocomplete to: div = "hi" and class = "hi"我希望它自动完成: div = "hi" 和 class = "hi"

I like to have spaces in the code so it is neater to read.我喜欢在代码中有空格,这样阅读起来更整洁。

Anyway to do this?无论如何要做到这一点?

I think what do you want is <div class="hi"> , right?我想你想要的是<div class="hi"> ,对吧?
Well if you got EMMET in your IDE is too easy div[class="hi"] or div.hi好吧,如果您在 IDE 中安装 EMMET 太简单了div[class="hi"]div.hi

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

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