Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

302
Vistas
How do I activate type annotations hints in Kotlin like depicted?

I was able to activate this option once in my MacOS intellij version, but could never find this option anymore, I forgot its name.

I know there is the CTRL+SHIFT+P alternative to this, but it is not as user-friendly.

How can I activate the option to make intellij show me all the inferred types like depicted? This screenshot came out of the intellij where I was able to put it showing "type hints" like this, so it is possible. I just don't remember where to find this option anymore so I can activate in all my other intellij's.

enter image description here

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

Thanks to @vitfo, adding this to the top here. For IntelliJ (2020.3) onwards got to: Settings -> Editor -> Inlay Hints -> Kotlin -> Parameter hints -> Types

In IntelliJ 2019.3.1 onwards it is located at: Settings -> Editor -> Inlay Hints -> Kotlin -> "Show parameter hints" (thanks to @zero).

Original Answer
Go to Settings -> Editor -> General -> Appearance -> "Show parameter name hints" -> Configure... -> Language: Kotlin -> Options -> "Show local variable type hints"

I think you are allowed to say, that this feature configuration is a little bit hidden in the menues.

Configure parameter name hints

over 4 years ago · Santiago Trujillo Denunciar

0

Adding to @Simulant answer.

In Latest Version of IntelliJ (2019.3.1) , You will NOT find this in Settings -> Editor -> General -> Appearance -> "Show parameter name hints"

Its available in Settings -> Editor -> Inlay Hints -> Kotlin -> "Show parameter hints"

enter image description here

over 4 years ago · Santiago Trujillo Denunciar

0

Adding to @Simulant and @zero answers

In the latest version of IntelliJ (2020.3) you need to go to Settings -> Editor -> Inlay Hints where you can specify "Show hints for" (for specific language) and then in Settings -> Editor -> Inlay Hints -> Kotlin -> Parameter hints -> Types you can specify what type of hints you want.

enter image description here

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda