7

I have been looking around the internet for a WebStorm plugin that will help with syntax-highlighting when working with Hugo. I have not been able to find one. Does anyone know of a Hugo WebStorm plugin that exists? Thanks for your help.

4
  • 1
    do you mean github.com/spf13/hugo? What syntax do you have problems with? TOML? Markdown? Or?
    – lena
    Commented May 23, 2017 at 14:57
  • Yes, spf13's Hugo. It would be specifically the Go Templating syntax that Hugo uses. It's an absolute mess as far as syntax highlighting and formatting goes. Commented May 23, 2017 at 15:10
  • 1
    Go is supported through Go plugin, but it doesn't yet support templates (youtrack.jetbrains.com/issue/GO-2953)
    – lena
    Commented May 23, 2017 at 18:13
  • 2
    So I guess I'm out of luck until that happens. I'll keep an eye on it, thanks! Commented May 23, 2017 at 19:22

1 Answer 1

9

There is Go Template plugin from JetBrains. It allows to highlight and autocomplete the basic syntax at least. The plugin works with *.gohtml files, file extensions can be customised in "Editor/File Types" preferences.

Not the answer you're looking for? Browse other questions tagged or ask your own question.