Can I disable the expression hint intentions someh...
# intellij
m
Can I disable the expression hint intentions somehow? They're always shown first and I keep using them accidentally but they're least important. I cannot find them unter "Intentions" preferences.
m
I’ve never seen it before. What does it do to the code? It it perhaps an inspection? Although I did a search everywhere, and nothing specific appeared when I typed ‘lambda return’
m
Well it's not a code-modifying intention. Instead it changes a preference setting: Preferences > Editor > General > Appearance > Show parameter name hints > Configure… > Show lambda return expression hints
m
Ahhh. I’ve never seen that pop-up as an option like it was an inspection/intention. I assume this is from hitting ‘alt-enter/option-enter’. Perhaps it’s a bug in IntelliJ or the Kotlin plugin? I wouldn’t expect preferences to appear in the ‘Show Intention Actions’ menu.
m
It's fine to have them as long as I can disable or at least sort them 🙂
m
Perhaps because you've accidentally clicked it enough times, intellij thinks that's you're preferred option. I'm not familiar with how it decides ordering. I know you have some options with code completion but don't know if those impact this, or if there are unique options, or its totally up to the ide.
m
Given how often I accidentally selected it it may very well think I love that option! 😄
a
Please file an issue at http://kotl.in/issue with a code example. Thanks!