When I declare a string const in Go Intellij shows a preview of the string that gets in the way of the actual code as shown
Answered
When I declare a string const in Go Intellij shows a preview of the string that prevents me from seeing the actual code as shown here
How do I turn this off?
There are times when this is helpful, so if there is a way to disable this on a per item basis that would be best
Please sign in to leave a comment.
See https://youtrack.jetbrains.com/issue/GO-14136/Exclude-static-strings-const-from-inlay-constant-hint.
You can disable it via Settings | Editor | Inlay Hints | Values | Go.