[JS] How to hide inlay hints for primitive types (strings, numbers)?

With the new inlay hint feature a lot of hints are not particularly... helpful:

How can we turn them off while still preserving hints that are actually useful?

0
1 comment

This issue is tracked at https://youtrack.jetbrains.com/issue/WEB-60306/Inlay-hints-for-variable-and-fields-show-the-variable-value-itself-instead-of-the-label-string, please follow it for updates
Unfortunately you can't disable this hint in particular, you can only try disabling all type annotation hints by 
 right-clicking the hint and choosing Disable type annotation hints - does it work for you?

 

0

Please sign in to leave a comment.