casualjim/vscode-gotemplate

.tmpl files in VSCode

asavchuk opened this issue · 3 comments

Should it work with .tmpl files in VSCode?

No, it doesn't, not yet.

EDIT:
well, looking at package.json file, it should;
however I haven't seen this extension working on anything yet, so I cannot confirm...

find the extension:

cd /Users/richard/.vscode/extensions/casualjim.gotemplate-0.3.0
mbp15:casualjim.gotemplate-0.3.0 richard$ vi package.json 

add .tmpl to html
just like this

"id": "gohtml",
"aliases": [
"Golang HTML Template",
"gohtml"
],
"extensions": [
".html",
".tmpl",
".gohtml"
],

After save file, restart vscode :)))

find the extension:

cd /Users/richard/.vscode/extensions/casualjim.gotemplate-0.3.0
mbp15:casualjim.gotemplate-0.3.0 richard$ vi package.json 

add .tmpl to html
just like this

"id": "gohtml",
"aliases": [
"Golang HTML Template",
"gohtml"
],
"extensions": [
".html",
".tmpl",
".gohtml"
],

After save file, restart vscode :)))

Is this something we might want to generate a pull request for, or is there some reason tmpl files are excluded?