grain-lang/grain-language-server

Toggle For Inlay Hints

spotandjake opened this issue · 0 comments

The inlay hints added to the lsp are an awesome addition but not for everyone especially if we add them in other places in the future such as we inlay positional argument names. It would be nice if we had a toggle to turn these off in the vscode extension.

Example of implementation:
image

A note on this as well is that vscode allows for a global toggle of inlay hints but this probably isnt the best. given you might very easily want module hints but not want something like type hints.