Replies: 1 comment 1 reply
-
Inlay hints are provided by the language server and not helix itself (as everything language specific, helix does not and will.never comtain language specific code). You should raise this suggestion with gopls. There might even already be a setting for that so check the documentation first |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, I love the inlay hints. Great work!
I have a suggestion to make the inlay hints configurable with regards to what kind of inlay hints should be shown. I apoligize in advance if this is already on the roadmap, but I couldn't find a similar issue that address this.
Consider the following Go snippet that makes a HTTP POST request.
The inlay hints for the struct field initialization (line 34) and method parameters (e.g. line 39) are great. However, in my opinion, the inlay hints for the variable assignments (e.g. line 29 and 44) is making the code harder to read as I already know the return types -- it feels like stuttering. Below snippet hopefully makes this even clearer.
Beta Was this translation helpful? Give feedback.
All reactions