Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to autocomplete HTML tags in Sublime Text 3?

I need to auto complete HTML tags in Sublime Text 3. For instance:

When I am typing <h1 after typing >

I should get <h1>|<h2>

Note: The pipe means the position of cursor. And auto complete should be Without TAB

Note: This question may have been asked before but those answer aren't satisfactory as they are irreverent now.

Thanks

like image 572
xN77 Avatar asked Sep 02 '25 02:09

xN77


1 Answers

Yeah you can try Auto Close.

This will fullfill your requirement.

If you don't know how to install package. You can follow following steps.

  1. First open package manager ctrl+shift+p
  2. Search and select Add Repository. Then paste the github link.
  3. After that again open package manager. Search and select Install Package.
  4. Search and select Auto Close

Then your are good to go.

like image 96
Nishan Paudel Avatar answered Sep 05 '25 01:09

Nishan Paudel