G

Go Template

JetBrains

JetBrains · v—

Support for Go template engine ( plugin documentation ).

Programming Language
Open in store ↗ id: 10581
Downloads
3.5M
3 486 337
Rating
4.1 ★
9 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 9 ratings
5★ 44.4%
4★ 22.2%
3★ 22.2%
1★ 11.1%

Reviews 8

★★★★★ Richard Brus 2023-12-12

It's working great for me. Use it to deal with Hugo Go code inside of HTML templates. Definitely helps a lot - thanks!

★★★★★ Joe Malin 2019-01-24

Good plugin, but needs an option to allow file extensions besides .gohtml. The Hugo static site generator uses Go templates, but they're distributed with the extension .html.

★★★★★ Lucas Rodrigues 2022-04-13

One issue is the conflict between tabs. I'm using Templates for code generation, for Go and other languages. It's possible to bind other format, but the alignment of the items conflicts. I think it should have a option to either priority the padding/tabs from the selected language or the Template.

★★★★★ Michael Klein 2019-04-26

Works ok, but as another commenter mentioned, it's a problem for Hugo templates, which have a .html file extension. Unfortunately simply reassigning *.html files to the "Go Template" file type breaks HTML syntax highlighting in other non-Hugo (e.g. Angular) projects. On the other hand, the Angular plugin manages to get HTML syntax highlighting working on .html files without having to reassign...

★★★★★ Guillaume Pelletier 2025-06-04

Completely useless, doesn't associate with files, doesn't highlight syntax, doesn't even have suggestions on code completion. I'm not sure this plugin works on Go Modules at all. This should simply be taken off the market place for any other alternatives.

★★★★★ Alex K 2025-09-04

Plz add if else block collapse support

★★★★★ Brian Topping 2019-09-12

This plugin would be about 5x better for new users with some instructions of what's possible. Here, let me help. Create an extension for your templates. If they are HTML, *.gohtml is already defined for you. Settings | Editor | File Types has the place to add your template type. The hidden gem: once started, there is a popup for the type of the underlying template. So I created *.goyaml and...

★★★★★ Alexander Zolotov 2019-01-24

@Joe you can bind any file to Go Template file type via `Settings | Editor | File Types`. Or use GoLand, it treats HTML files as Go template files by default.

Similar in “Programming Language”