Pixel
Pixel3y ago

Disable Deno VSCode TS types

This is a recent updates. I like to code in Javascript and the new types are incredibly distracting- I can't read the code. How to disable this please?
8 Replies
AapoAlas
AapoAlas3y ago
It's in the change notes.
BrunoBernardino
I can't check now but it's "inline hints" or something along those lines that has to be disabled. It's ridiculous that was enabled by default, to be honest.
Pixel
PixelOP3y ago
Found it, inlayHints ty Where do we put this? Yeah would be nice to configure it more Maybe if it was darker / close to black it would be tolerable/useful But rn it stands out more than the code!
Pixel
PixelOP3y ago
This is deno.json doesn't work
AapoAlas
AapoAlas3y ago
.vscode/settings.json
AapoAlas
AapoAlas3y ago
Deno Blog
Deno 1.29: Custom npm registry support
Deno 1.29 ships with many npm compatibility improvements, lots of quality of life improvements and TypeScript 4.9
AapoAlas
AapoAlas3y ago
Also, the color of the inlay hints is not set by Deno or the Deno VS Code extension, it is set by your VS Code theme.
Pixel
PixelOP3y ago
Thank you, this fixes it
"editor.inlayHints.enabled": "offUnlessPressed"