Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there HTML tag creation shortcut in Visual Studio?

I'm wondering if there is any keyboard shortcut that allows you to create HTML tags fast..

For example, if I want to create something like this

<div><ul class="short"><li>*</li><li>*</li><li>*</li><li>*</li></ul></div>

Can I write something like div>ul.short>li*5{*} and hit a shortcut key to have the tags above created for me?

thanks!

like image 347
SamuelC Avatar asked Jan 11 '23 10:01

SamuelC


1 Answers

You can download an extension for Visual Studios called "Web Essentials". It's a highly recommended extension for anyone doing web development and provides LOADS of easy helper functionality. For your particular question, it has something called Zen Coding. Here's a Blog describing the benefits and use:

http://dannydnet.blogspot.com/2013/12/vs2013-web-essentials-zen-coding-is.html

Here is a link to the list of other features that may be helpful to you as well: http://vswebessentials.com/features/html

like image 181
Grim Coder Avatar answered Jan 29 '23 08:01

Grim Coder