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
in VSCODE :
Go to the Settings->textEditor->files->add items
then define *.tmpl as a key and html as value
*.tmpl : html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With