Go Template
JetBrainsJetBrains · v—
Support for Go template engine ( plugin documentation ).
Rating distribution
Reviews 8
It's working great for me. Use it to deal with Hugo Go code inside of HTML templates. Definitely helps a lot - thanks!
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.
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.
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...
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.
Plz add if else block collapse support
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...
@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”
Kotlin
JetBrains
Dart
Flutter
Scala
JetBrains
Toml
JetBrains
Markdown
JetBrains