Is it possible to have 'inlay hints' in Sublimetext (currently build 4143)?

108 Views Asked by At

I'm writing something in TypeScript (Deno) using VSCode and love the inlay hints. I would like to try using SublimeText again, but I don't want to lose the inlay hints.

It's possible in IntelliJ, VSCode. Is it not possible in ST?

https://forum.sublimetext.com/t/inlay-hints/54957/10

I followed the link that I pasted, followed the link where it says that something is standardised. Installed several packages, but no luck yet

1

There are 1 best solutions below

5
On

As rwols said in the link you posted, inlay hints can now be enabled in the main LSP settings. Select Preferences → Package Settings → LSP → Settings and scroll down the left side a little ways to find

"show_inlay_hints": false,

Copy this over to the right side (the User settings), change false to true, save the file, and you should be all set. You may need to either restart your LSP servers or Sublime itself in order for it to be fully activated.