https://kotlinlang.org logo
l

Lukellmann

09/13/2022, 12:37 AM
I saw this somewhere: the inspection/warning/error name is displayed within IntelliJ (
[DEPRECATION_ERROR]
in this case). How can I enable this? https://media.discordapp.net/attachments/705391960785158164/999092837771640962/unknown.png?width=1440&height=153 I only get something like this:

https://media.discordapp.net/attachments/705391960785158164/999093301338718208/unknown.png

The reason I would like to see these names is that
@Suppress
seems to work for some errors too, but I would need to know the name for them to suppress them.
a

Alexey Belkov [JB]

09/13/2022, 5:18 AM
Add
idea.is.internal=true
to Help | edit custom properties
s

Starr

09/13/2022, 7:57 AM
does this setting apply to errors in other languages (Java, Rust, etc) as well, or only Kotlin? If not, is there a way to enable similar behavior for those languages?
a

Alexey Belkov [JB]

09/13/2022, 8:11 AM
Actually, this setting enables a bunch of internal actions that are useful for IDEA developers. I don’t know how it affects other plugins. Also note that the error you quoted is a Kotlin compiler error. For Java, Rust there may be no compiler errors at all, if the whole analysis is implemented inside of the IDEA plugin.
s

Starr

09/13/2022, 8:26 AM
ok, thanks is there a list somewhere of said enabled internal actions?
🚫 1
2 Views