Search code examples
htmlsublimetext3sublimetextsublime-text-plugin

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


Solution

  • 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.