Let's say I have the following in kotlin
const val ME_FIRST = "FIRST/"
const val ME_SECOND = "SECOND/"
const val ME_THIRD = "THIRD/"
const val AT_THE_END = "PutMeFirst/"
const val SOME_OF_IT = ME_FIRST + ME_SECOND + ME_THIRD
const val ALL_OF_IT = AT_THE_END + SOME_OF_IT
In Intellij, is there a way to press ⌘ + click on ALL_OF_IT
and see that the value equals PutMeFirst/FIRST/SECOND/THIRD/
in the hint or in the documentation window?
Right now it's only showing something like
public const final val ALL_OF_IT: String
I tried adding annotations above each item as well as the final item using the javadoc syntax
/**
* {@value #ALL_OF_IT}
*/
But again, in the "Documentation:" window it just shows the literal values from the description
public const final val ALL_OF_IT: String
{@value #ALL_OF_IT}