Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Way to have one close button for all tabs?
Way to have one close button for all tabs? [message #76611] Tue, 17 June 2003 13:53 Go to next message
Eclipse UserFriend
Originally posted by: stevenyi.hellokitty.com

Hi all,

I was wondering if there is any configuration setting for having one close
button for all tabs instead one per tab for the main text editor area. I'm
thinking along the lines of the netscape browser where there is one x that
will close whatever is the active tab. I find I often have quite a few
files open and find it near impossible to read what each tab is, and I
figured if there was a way to use only one close button that it would free
up realestate for showing the title of the tab.

Thanks,
steven
Re: Way to have one close button for all tabs? [message #76803 is a reply to message #76611] Tue, 17 June 2003 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NOSPAM.us.ibm.com

ctrl+shift+W will bring up a list of all open editors. From there you
can select any number of them that you want and close them all at once.

Rich
Re: Way to have one close button for all tabs? [message #76881 is a reply to message #76803] Tue, 17 June 2003 16:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stevenyi.hellokitty.com

Oh, didn't know about this, but it's a bit of a usability slowdown for me to
have to pop open a window to navigate. It's nice to have this though for
closing multiple documents.

So I guess I'm stuck with illegible tabs. =( I wish there was a way to
restict how small the tabs could get, but I couldn't find that anywhere
either. This is really my only gripe about eclipse to date, so I'm really
wanting to find a way.

Thanks Richard,
steven


"Richard L. Kulp" <richkulp@NOSPAM.us.ibm.com> wrote in message
news:bcnq9j$2fb$2@rogue.oti.com...
> ctrl+shift+W will bring up a list of all open editors. From there you
> can select any number of them that you want and close them all at once.
>
> Rich
>
Re: Way to have one close button for all tabs? [message #76913 is a reply to message #76881] Tue, 17 June 2003 16:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bdeweese.yahoo.com

Some of the 2.1 milestone releases supported variable tab compression
via preferences but it was removed. You can still get it though by
editing a configuration file. I don't know if this will work in 3.0.

In the "plugins\org.eclipse.platform_2.1.0\plugin_customization.ini "
file, add/edit these lines.

# EditorList Pulldown - activate by setting to true.
org.eclipse.ui.workbench/EDITORLIST_PULLDOWN_ACTIVE=true

# TabCompression - specify the amount of compression to use on the
# editor tabs. The value is multiplied by the font height and used as
# the maximum width of the tab. So a smaller number will compress more.
# Use a large number, such as 30, to turn off tab compression.
# Typical values are: high=3, medium=6, low=9, none=30
org.eclipse.ui.workbench/EDITOR_TAB_WIDTH=8


steven wrote:
> Oh, didn't know about this, but it's a bit of a usability slowdown for me to
> have to pop open a window to navigate. It's nice to have this though for
> closing multiple documents.
>
> So I guess I'm stuck with illegible tabs. =( I wish there was a way to
> restict how small the tabs could get, but I couldn't find that anywhere
> either. This is really my only gripe about eclipse to date, so I'm really
> wanting to find a way.
>
> Thanks Richard,
> steven
>
>
> "Richard L. Kulp" <richkulp@NOSPAM.us.ibm.com> wrote in message
> news:bcnq9j$2fb$2@rogue.oti.com...
>
>>ctrl+shift+W will bring up a list of all open editors. From there you
>>can select any number of them that you want and close them all at once.
>>
>>Rich
>>
>
>
>
Re: Way to have one close button for all tabs? [message #77025 is a reply to message #76881] Tue, 17 June 2003 18:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

steven wrote:

> Oh, didn't know about this, but it's a bit of a usability slowdown for me to
> have to pop open a window to navigate. It's nice to have this though for
> closing multiple documents.

> So I guess I'm stuck with illegible tabs. =( I wish there was a way to
> restict how small the tabs could get, but I couldn't find that anywhere
> either. This is really my only gripe about eclipse to date, so I'm really
> wanting to find a way.

You can restrict the number of open editors. Eclipse will close the
editor of least recently used file. Go to
Windows->Preferences->Workbench->Editors and check Close editors
automatically. You can then enter the maximum number of editors that you
want open.

> Thanks Richard,
> steven


> "Richard L. Kulp" <richkulp@NOSPAM.us.ibm.com> wrote in message
> news:bcnq9j$2fb$2@rogue.oti.com...
> > ctrl+shift+W will bring up a list of all open editors. From there you
> > can select any number of them that you want and close them all at once.
> >
> > Rich
> >
Re: Way to have one close button for all tabs? [message #77169 is a reply to message #77025] Tue, 17 June 2003 20:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stevenyi.hellokitty.com

Sorry, I think I replied directly to Brian, but his solution worked well for
me. It helps a lot. I think having a single close button would still be
the best, but Brian's solution works fine for me now.

Thanks Dave for your sugesstion as well!

steven




"Dave Wegener" <wegener@cboenospam.com> wrote in message
news:bco41j$bvl$1@rogue.oti.com...
> steven wrote:
>
> > Oh, didn't know about this, but it's a bit of a usability slowdown for
me to
> > have to pop open a window to navigate. It's nice to have this though
for
> > closing multiple documents.
>
> > So I guess I'm stuck with illegible tabs. =( I wish there was a way to
> > restict how small the tabs could get, but I couldn't find that anywhere
> > either. This is really my only gripe about eclipse to date, so I'm
really
> > wanting to find a way.
>
> You can restrict the number of open editors. Eclipse will close the
> editor of least recently used file. Go to
> Windows->Preferences->Workbench->Editors and check Close editors
> automatically. You can then enter the maximum number of editors that you
> want open.
>
> > Thanks Richard,
> > steven
>
>
> > "Richard L. Kulp" <richkulp@NOSPAM.us.ibm.com> wrote in message
> > news:bcnq9j$2fb$2@rogue.oti.com...
> > > ctrl+shift+W will bring up a list of all open editors. From there you
> > > can select any number of them that you want and close them all at
once.
> > >
> > > Rich
> > >
>
>
>
>
>
Re: Way to have one close button for all tabs? [message #77370 is a reply to message #77169] Wed, 18 June 2003 03:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.eicher.gmx.ch.nodomain

there is also File->Close All (Ctrl+Shift+F4) which might give you a quick
way to do what you want.

-tom

"steven" <stevenyi@hellokitty.com> wrote in message
news:bcoal1$g7g$1@rogue.oti.com...
> Sorry, I think I replied directly to Brian, but his solution worked well
for
> me. It helps a lot. I think having a single close button would still be
> the best, but Brian's solution works fine for me now.
>
> Thanks Dave for your sugesstion as well!
>
> steven
>
>
>
>
> "Dave Wegener" <wegener@cboenospam.com> wrote in message
> news:bco41j$bvl$1@rogue.oti.com...
> > steven wrote:
> >
> > > Oh, didn't know about this, but it's a bit of a usability slowdown for
> me to
> > > have to pop open a window to navigate. It's nice to have this though
> for
> > > closing multiple documents.
> >
> > > So I guess I'm stuck with illegible tabs. =( I wish there was a way
to
> > > restict how small the tabs could get, but I couldn't find that
anywhere
> > > either. This is really my only gripe about eclipse to date, so I'm
> really
> > > wanting to find a way.
> >
> > You can restrict the number of open editors. Eclipse will close the
> > editor of least recently used file. Go to
> > Windows->Preferences->Workbench->Editors and check Close editors
> > automatically. You can then enter the maximum number of editors that
you
> > want open.
> >
> > > Thanks Richard,
> > > steven
> >
> >
> > > "Richard L. Kulp" <richkulp@NOSPAM.us.ibm.com> wrote in message
> > > news:bcnq9j$2fb$2@rogue.oti.com...
> > > > ctrl+shift+W will bring up a list of all open editors. From there
you
> > > > can select any number of them that you want and close them all at
> once.
> > > >
> > > > Rich
> > > >
> >
> >
> >
> >
> >
>
>
Re: Way to have one close button for all tabs? [message #77469 is a reply to message #76611] Wed, 18 June 2003 04:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: faust.acm.org

ctrl-shift-f4


Randy

"steven" <stevenyi@hellokitty.com> wrote in message
news:bcnjqt$rip$1@rogue.oti.com...
> Hi all,
>
> I was wondering if there is any configuration setting for having one close
> button for all tabs instead one per tab for the main text editor area.
I'm
> thinking along the lines of the netscape browser where there is one x that
> will close whatever is the active tab. I find I often have quite a few
> files open and find it near impossible to read what each tab is, and I
> figured if there was a way to use only one close button that it would free
> up realestate for showing the title of the tab.
>
> Thanks,
> steven
>
>
Re: Way to have one close button for all tabs? [message #77511 is a reply to message #76611] Wed, 18 June 2003 06:17 Go to previous messageGo to next message
Eclipse UserFriend
steven <stevenyi@hellokitty.com> wrote:
> I was wondering if there is any configuration setting for having one close
> button for all tabs instead one per tab for the main text editor area. I'm
> thinking along the lines of the netscape browser where there is one x that
> will close whatever is the active tab. I find I often have quite a few
> files open and find it near impossible to read what each tab is, and I
> figured if there was a way to use only one close button that it would free
> up realestate for showing the title of the tab.

I've got a patch which drastically cuts down on the space taken up on
each tab, at the expense of a little bit of accessibility (although
it's configurable). Basically it allows you to get rid of the file
extension and the icon, which saves quite a bit of space.

Let me know if you'd like a copy of the patch. I haven't done it for
3.0M1 yet, as I'm still using 2.1, but I'm sure I could whip something
up if people were interested.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Re: Way to have one close button for all tabs? [message #77626 is a reply to message #76611] Wed, 18 June 2003 08:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mxlehma.NO-SPAM.qwest.com

steven wrote:
> Hi all,
>
> I was wondering if there is any configuration setting for having one close
> button for all tabs instead one per tab for the main text editor area. I'm
> thinking along the lines of the netscape browser where there is one x that
> will close whatever is the active tab. I find I often have quite a few
> files open and find it near impossible to read what each tab is, and I
> figured if there was a way to use only one close button that it would free
> up realestate for showing the title of the tab.
>
> Thanks,
> steven
>
>

I too would love to see this added as a feature in 3.0. I don't know
how many times I would go to select a particular tab and inadvertently
close the file or an adjacent tab because of a brief interruption in
mouse movement. I know other editors like Visual Studio .Net provide a
single close button on the left. This leaves alot more room for the
file names.

Having variable size tabs and/or stacking the tabs on multiple lines may
be another solution. Also having a preference that would allow me to
remove the icon from being displayed on tab would be great.

--
Michael
Re: Way to have one close button for all tabs? [message #77937 is a reply to message #77370] Wed, 18 June 2003 13:45 Go to previous message
Eclipse UserFriend
Originally posted by: stevenyi.hellokitty.com

Oh sorry, I'm not wanting to close all tabs, but just have one close button
around that will work on the active tab. If you look at netscape/mozilla
and to tabbed browsing, you'll see multiple tabs added but the close button
is fixed at the far right. when you press the close button, it only closes
the active tab.

If this was implemented this way on Eclipse, it would free up some room on
the tabs to view the filenames as not every tab would need to have it's own
close button (some 20-30 pixels per tab, which adds up quickly).

You might want to check out:

http://channels.netscape.com/ns/browsers/browsing.jsp#br2

to see what the tabs look like (the picture doesn't show the close button to
the far right).

Also, implementing bookmarks like mozilla/netscape does would be nice, so
you could bookmark a single file or a group of files.

thanks,
steven

"Tom Eicher" <tom.eicher@gmx.ch.nodomain> wrote in message
news:bcp30k$vcl$1@rogue.oti.com...
> there is also File->Close All (Ctrl+Shift+F4) which might give you a quick
> way to do what you want.
>
> -tom
>
> "steven" <stevenyi@hellokitty.com> wrote in message
> news:bcoal1$g7g$1@rogue.oti.com...
> > Sorry, I think I replied directly to Brian, but his solution worked well
> for
> > me. It helps a lot. I think having a single close button would still
be
> > the best, but Brian's solution works fine for me now.
> >
> > Thanks Dave for your sugesstion as well!
> >
> > steven
> >
Previous Topic:Writing to the status line
Next Topic:Third mouse button under X11
Goto Forum:
  


Current Time: Sun May 11 09:37:18 EDT 2025

Powered by FUDForum. Page generated in 0.04829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top