How to unhide inlay hints for the current method?

已回答

I've previously selected the "Do not show hints for the current method" context action for a method to hide its parameter names, but now I'd like to undo that selection.

How do I make the hints again visible for that method?

The context actions don't show an option to show the hints for the current method after they have been hidden. I can't find in settings a list of methods for which hints have been disabled. I can't find a mention of that method in the configuration files inside the .idea directory.

0
Hello Esko,

To unhide inlay hints for the current method, you need to navigate to the Exclude list in IntelliJ IDEA. This list contains the methods and functions for which parameter hints are not shown. From this list, you can enable parameter hints for the methods you previously chose to hide. If the method you're looking for is not in the list, you can add it manually.

For more info you can visit this doc link: https://www.jetbrains.com/help/idea/2023.3/javascript-specific-guidelines.html#ws_js_parameter_hints
0

Thanks. Found it.

0

请先登录再写评论。