Syntax highlighting for inlay hints
We have been doing a language integration primarily targeting VS Code and noticed, that there's no way to have the inlay hints colored. It would be nice, if inlay hints could be treated as regular code and could get the same syntax highlighting as the rest of the text, just maybe be a bit darker/transparent. In their current form, they are a bit harder to read.
I understand that treating inlay hints as code is not universally applicable, so we might need to propose something like a flag to LSP too to signal that the given inlay hint fragment can be treated as part of the code or something, this is partly a feature request and partly trying to start a discussion to see what people think of this.
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
this? https://github.com/microsoft/vscode/issues/225400
@RedCMD No, inlay hints are labels within source code that are not actually part of the source code, they merely provide extra info for readability - like parameter names, inferred variable types, etc. For example: https://code.visualstudio.com/docs/typescript/typescript-editing#_inlay-hints
:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!