[英]Keyboard shortcut to add a div with a css class in Visual Studio 2019
In visual studio code, as well as other IDE's such as JetBrains, there is a keyboard shortcut where you can type ".[classname]" + tab and it will produce a <div class="classname"></div>
element on your html page.在 Visual Studio 代码以及其他 IDE(例如 JetBrains)中,有一个键盘快捷键,您可以在其中键入“.[classname]”+ tab,它将生成一个
<div class="classname"></div>
元素你的 html 页面。 I have been looking for something similar in VS2019 but have not found anything that does this.我一直在 VS2019 中寻找类似的东西,但没有找到任何可以做到这一点的东西。 Is there such a shortcut in VS2019?
VS2019有这样的快捷方式吗?
最接近的是输入 div.your_class.another_class 然后按 Enter 👌
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.