I am reading the book Android Development in Kotlin
and there is a shortcut to view the type of an object in Kotlin.
Windows: Shift + Ctrl + P
and Mac: arrow key + control + P
I cannot seem to get it working on a mac.
I think you are mixing up the symbol of ⇧
with ↑
. Shift
in mac can be represented by ⇧
. So, you may try Ctrl + Shift + P
in mac also.
If it doesn't work, you may go to Setting -> Keymap
and search for Expression type. Here, you can check out the shortcut and change it by right clicking the shortcut, then Add Keyboard Shortcut.
Besides, Ctrl + Q
also shows the type of an object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With