I'm using GoLand IDE. When I open an HTML file I could see different colors in the file content, but when I open a .tmpl
file which is used in Go-Template
file, I couldn't check it like an HTML file, but when I change its postfix to .html
instead of .tmpl
it occurs.
So, how can I open .tmpl
(Go-Template
) file same as an HTML file in GoLand IDE?
Also, I tried with PyCharm IDE but the result was the same.
You can add *.tmpl
to the list of patterns registered for HTML file type in Settings | Editor | File Types