Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to remove the close button from main editor tabs? I've heard there is a new UI model in Eclipse Juno (e4) that uses CSS for tuning, so is it possible to write some CSS to remove close button from the tabs?

I didn't found anything useful regarding available css rules and selector for the new UI.

share|improve this question

Just found a solution:

  1. First you need to install E4 tools (from update site Er CSS Editor (Incubation) and restart Eclipse
  2. Now go to Preferences (menu WindowPreferences, then Appearance), there you should find CSS editor for Eclipse UI
  3. Add the following piece of code at the end of CSS code:

    CTabItem {
        swt-show-close: false !important;   
  4. Restart eclipse.

share|improve this answer

In addition to Sergey,

You don't have to install any plugin to actually edit the CSS file. If you goto


and edit this file you will get the same result.

CTabItem {
    swt-show-close: false !important;   
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.