Assigned shortcut to Android Studio doesn't work

放肆的年华 提交于 2019-12-10 22:03:03

问题


I wanted to close active tab by shortcut in Android studio. I found CTRL+F4 does the job from here. Although it closed active tab, keyboard functionality disabled in a way that I couldn't type anything in editor (modify my classes).

So, I decided to change its shortcut. I assigned CTRL+W to close active tab and CTRL+SHIFT+W to reopen closed tab as you see in following screenshot. CTRL+SHIFT+W does its job properly while when I press CTRL+W nothing happens (active tab doesn't close).

My OS is Ubuntu.


回答1:


Close Active Tab closes the active tool window. You need to find "Close" under "Main menu" -> "Window" -> "Editor Tabs". Change this to "Ctrl + W" and it should work.



来源:https://stackoverflow.com/questions/37080941/assigned-shortcut-to-android-studio-doesnt-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!