templatesnotepad++code-snippetscontent-assist

Notepad++ premade snippets


I have seen in videos, that people get html template by typing "html:5" or something like that (btw, they're not using notepad++). Is this possible in notepad++? Thanks.


Solution

  • A little late, but what you're looking for is called Zen Coding.

    The Zen Coding project hosted on Google has a plugin for NotePad++ that should do exactly what you need.

    For example, entering something like:

    html>head+body>div#content>ul.nav>li*5

    Followed by Ctrl + E, expands into:

    <html>
        <head></head>
        <body>
            <div id="content">
                <ul class="nav">
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                </ul>
            </div>
        </body>
    </html>