开发者

How can I remove the close buttons from editor tabs in NetBeans?

Variant three in this specification is what I want, but I see no info on开发者_运维问答 how to enable it or whether it's something that's even been implemented.

Is there a plugin or secret setting that will let me remove the close buttons on tabs. I always use middle click or the keyboard - the close buttons take up a lot of space.


Well, it is not exactly variant 3, but here is the way how to hide the close buttons completely - run netbeans with switch -J-Dnb.tabs.suppressCloseButton=true, so for example

[NetbeansDirectory]/bin/netbeans -J-Dnb.tabs.suppressCloseButton=true

Hope that helps...

EDIT: It works for NB 6.7.1 and probably for some previous releases. Former switch was -J-Dnetbeans.tab.close.button.enabled=false

EDIT2: I filled a request for enhancement after reading the comment

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜