How to avoid fixing extracted methods code snippet at top or bottom of Android Studio
Asked Answered
Q

1

10

After updating Android Studio to Arctic Fox | 2020.3.1 version, The IDE fixes extracted methods code snippet at top or bottom of screen depending on scrolling direction. As you can see in the image below, it's annoying because it fills a large part of screen.

enter image description here

Is there any way to avoid showing extracted methods code snippet?

Quitrent answered 4/8, 2021 at 6:47 Comment(4)
Thank you for posting this question. It is worse in my case. It can be at the top, bottom, or middle. If can block some other functions such as search. I have to restart AS to fix this. I hope Google will fix this ASAP because method extraction is used frequently. It is a major nuisance.Peak
I hope we find a solution to it soon.Quitrent
t is displayed on random locations. Especially after switching tab. Whenever i extract method, I have to restart IDE :/Conjectural
There is a bug report for this issue in the Android Studio issue tracker: issuetracker.google.com/issues/213134273 It seems like they closed it due to not enough information to reproduce. So i added a "how to reproduce" description, a screen recording and a link to this question. Hope they reopen the issue report and fix it.Ethelynethene
B
4

I found an answer here. it fixes the bug at the expense of having popup windows appear whenever you want to refactor something. i should have stayed on 4.2 XD

https://mcmap.net/q/510644/-android-studio-strange-code-sub-windows-after-upgrade-to-arctic-fox-2020-3-1

credit goes @Chris Clarke.

maybe this helps reduce your time googling

Bautista answered 29/9, 2021 at 20:59 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.