complete - Auto close end tag by typing ' </ ' in Sublime Text 2 -


sublime text 2 has default key binding close elements end tag automatically typing (alt + .)

for example,

<h1> + (alt + .), produces <h1></h1> 

default keybindings accessible through package controller,

{ "keys": ["alt+."], "command": "close_tag" } 

however, i'm not sure how write </, 2 keys pressed consecutively appose 2 keys pressed @ same time.

how can rewrite key binding use </?

any insight helpful. thanks!

check in preferences file if following line exists

"auto_close_tags": true, 

it works me in sublime text 3.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -