-->

Intellij IDEA: Pinned tabs, close will close. How

2019-07-16 03:27发布

问题:

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.