Code snippet floating in mid-air as a tooltip, cannot hide it, after extracting method [IntelliJ Idea / Android Studio]

Viewed 128

Trying to perform the Ctrl + G (Go to line) keyboard shortcut, seems I accidentally activated a feature that pins the code the cursor was previously on.

After closing and reopening the file, things are worse; the code snippets still are floating over the screen, no matter if I move the Android Studio window.

I have searched keyboard shortcuts using this guide, but no luck.

Is there a way to disable or revert this? enter image description here

Noticed by comment below and confirmed by myself: This happens after extracting a method.

1 Answers

I have been able to get rid of those permanent tooltips by invalidating caches and restart, but this should not be the way to disable them, as I still don't know which is the keyboard shortcut to toggle this "pin snippet" function.

Related