gosyntax-highlightinggoland

Syntax highlighting in fmt and GoLand


How does the GoLand IDE (JetBrains) highlight the formatting verbs in the fmt package from the Go standard library?

An image to clarify my question:

Highlight example

If I write a function that takes a format string and multiple arguments, the format string is not highlighted:

No Highlight example

Where does this highlighting come from? I was not able to figure that out.


Solution

  • This is not currently, as of 2019.3 release, supported by the IDE.

    Vote/watch this issue to receive updates when it will be implemented.