score:44

Accepted answer

this bug make "quick access" optional and hidden by default covers it. it looks like it is not currently possible, i suggest you add your interest to the bug.

score:-2

type "toggle toolbar" in the quick access window (yes, that very thing that annoys us) and it'll be gone. c.f.

score:0

solution for version: oxygen release (4.7.0):

  1. save the icons you are constantly using by dragging them off the "toolbar" e.g. left/right/under to the editor.
  2. then toggle: window > appearance > hide/show toolbar done. :)

score:5

a solution inspired from : https://bugs.eclipse.org/bugs/show_bug.cgi?id=319991

(with eclipse juno 4.2) just add this piece of code to your applicationworkbenchwindowadvisor class and call the method from prewindowopen().

private void hidequickaccess() { 
        uijob job = new uijob("hide quick access") {
            @override
            public istatus runinuithread(iprogressmonitor monitor) {
                iworkbenchwindow window = platformui.getworkbench()
                        .getactiveworkbenchwindow();
                if (window instanceof workbenchwindow) {
                    mtrimbar toptrim = ((workbenchwindow) window).gettoptrim();
                for (mtrimelement element : toptrim.getchildren()) {
                    if ("searchfield".equals(element.getelementid())) {                     
                        ((control) element.getwidget()).dispose();
                        break;
                    }
                }
            }
            return status.ok_status;
        }
    };
    job.schedule();

it might not work unless changing the accessibility rule of the org.eclipse.e4.ui.model.workbench.source_0.10.1.v20120523-1955.jar. to change this option, go to the java build path menu, find the jar, expand it and the option will appear.

nb: i'm not sure about the entailment of this last change, it could be 'not clean'.

score:5

check out this plugin: https://github.com/atlanto/eclipse-4.x-filler#hide-quick-access-plug-in

works with eclipse kepler release.

this plug-in adds a functionality to hide/show quick access textbox in the main toolbar.

window ☞ hide quick access

score:11

in luna this has been fixed.

you can just right click on quick access toolbar and click hide to hide it. refer last few comments in https://bugs.eclipse.org/bugs/show_bug.cgi?id=362420

score:36

here is a quick hack which doesn't require any plugin installation, instead you just need to add a few lines to your current layout's css file. works perfectly for me in v4.2.2

navigate to <eclipse_home>/plugins/org.eclipse.platform_<version>/css then open up the css file of whichever layout you are using, e.g. mine was e4_default.css. now append the following snippet to the file:

#searchfield {
   visibility:hidden;
}

now just restart eclipse and the box is gone.

*edit

it appears that the layout file e4_basestyle.css is used universally, regardless of your current layout. thus you should be able to add the above snippet to that file and this fix will be persistent, even if you change layouts.

score:41

i looked for an answer to this question because quick access took a full row in the toolbar. instead of removing it (which requires too much hacking for my taste), i just removed a few toolbar buttons that i didn't use anyway, and the quick access shifted up among the rest of the buttons taking only an acceptable amount of space.

there is really no need for that many buttons for any one perspective. they should fit unless your screen is tiny. customise this in window -> customize prespective...


Related Query

More Query from same tag