Intellij IDEA: Pinned tabs, close will close. How to disable?

谁说我不能喝 提交于 2020-01-04 09:09:12

问题


I have a hotkey for closing tabs, CTRL + W but it closes even pinned tabs.

So does the [X] on the tabs.

And so does the right click -> close tab.

Is this a bug?

It didn't use to be like this.

I am on intellij 13


回答1:


Pinning a tab in IntelliJ simply means it will not automatically close when you have exceeded the maximum number of allowed open tabs (the value of which you can edit, but is 10 by default). It has nothing to do with your own actions to close it (except for the Close All but Pinned option in the right-click context menu on tabs).




回答2:


I don't think it's a bug. I don't remember it being any other way, and I've used IntelliJ since the first release (I suppose that I may not have been paying attention though). Pinned windows simply stay visible when inactive, whilst unpinned windows will close automatically.



来源:https://stackoverflow.com/questions/24791128/intellij-idea-pinned-tabs-close-will-close-how-to-disable

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