V
V
Vlad Olesen2020-12-28 17:51:07
HTML
Vlad Olesen, 2020-12-28 17:51:07

How to set basic html code in notepad++?

How to make it so that when creating a new file and opening it through notepad ++, the basic html (head, body) code is immediately written or a special plugin that, when the keys are pressed, the code is immediately written

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
RAX7, 2020-12-28
@Vlad_kru

https://github.com/emmetio/npp

A
alekssamos, 2021-01-20
@alekssamos

Option 1. Look for a custom plugin like
https://github.com/ffes/nppsnippets
Option 2. Use standard Windows templates.

1. Follow the path: C:\Windows\ShellNew\And create a file Template.htmlwith the desired content.
2. In the registry editor (regedit) go along the path HKEY_CLASSES_ROOT\.html\and create a section ShellNewwith the parameter FileNameand its valueTemplate.html

And in theory, if you create a new file through the context menu of the explorer (explorer), a new file should be created with the contents of that file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question