There could be something I’m missing but it doesn’t seem like sublime text supports inlay hints and I cannot find a plugin that does either. Is support planned for them either in sublime text or a plugin?
Inlay hints
For writing rust code; the rust analyzer (and maybe rls?) can provide inlay hints in the form of type info for rust code, but I can’t actually see those hints in sublime text, whereas in VS Code, for example, they do show up.
Yeah, is there another package that would do this better? I am also using the RustEnhanced package.
It’s not a standard request so we don’t implement it in the base LSP package https://github.com/microsoft/language-server-protocol/issues/956
This is a major blocker for me using ST at the moment (together with rust), I’m wondering if inlay hints are just not supported/ possible in ST or if the LSP package could (at least in theory/ if it wanted) support this extension and thus bring ST to the same level as VSCode in this aspect.
Inlay hints are valuable in rust for both type annotations and parameter names which get displayed at the callside.
There’s effort to standardize it now: https://github.com/microsoft/language-server-protocol/pull/1249
Appears that this ended up being standardised here: https://github.com/microsoft/language-server-protocol/commit/c63b5f5266b3ffc1c83747f782cc70f0fa1e38e8
It’s also part of the LSP package now. You can enable it with a boolean in the settings.