Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #9162

Re: generics puzzle

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From blmblm@myrealbox.com <blmblm.myrealbox@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: generics puzzle
Date 25 Oct 2011 07:04:15 GMT
Organization None
Lines 81
Message-ID <9gn5bfFmomU2@mid.individual.net> (permalink)
References <9g2f24Fi0vU1@mid.individual.net> <9gdsa6FpohU1@mid.individual.net> <9gghjaF67oU3@mid.individual.net> <alpine.DEB.2.00.1110222039350.4024@urchin.earth.li>
X-Trace individual.net RpQjn9h05PC1acTVR2iZGQEhbYugLAD5+JX6BknsveTcntWBbh
X-Orig-Path not-for-mail
Cancel-Lock sha1:QazNmZFCGuM0hMBerbraWRQe0Qw=
X-Newsreader trn 4.0-test76 (Apr 2, 2001)
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9162

Show key headers only | View raw


In article <alpine.DEB.2.00.1110222039350.4024@urchin.earth.li>,
Tom Anderson  <twic@urchin.earth.li> wrote:
> On Sat, 22 Oct 2011, blmblm@myrealbox.com wrote:
> 
> > In article <9gdsa6FpohU1@mid.individual.net>,
> > Robert Klemme  <shortcutter@googlemail.com> wrote:
> >> On 10/21/2011 06:27 PM, blmblm@myrealbox.com wrote:

[ snip ]

> > If I do a "synchronize with repository" operation and let Eclipse switch 
> > to the CVS perspective or view or whatever it is (I have trouble 
> > remembering which of those is which), I haven't figured out how to 
> > easily get back to the "normal" (Java) view, other than clicking a 
> > little ">>" button near the upper right corner to display a list of 
> > other whatever-they-are.  I did find a keyboard shortcut (control-f8 
> > IIRC) that *seemed* like it would do what I want, but I can't seem to 
> > make it work.  I could be mistaken.
> >
> > I think I did come across a way to set and clear debugging breakpoints 
> > from the keyboard, but I didn't mentally bookmark it, and trying to find 
> > it again ....  well, I haven't.
> 
> The key thing (har har) to know is that all Eclipse's key bindings are 
> configurable, and that there are a great many commands it has which do not 
> have bindings by default.

Yes, that sounds vaguely familiar ....

> My pet hate is that there are no keystrokes for the 'extract constant' and 
> 'extract parameter' refactorings. It's not long after i sit down with an 
> unfamiliar Eclipse that i find myself binding them to the otherwise unused 
> alt-shift-K and alt-shift-P combinations (fitting neatly into the 
> alt-shift family, which operates the other refactorings).
> 
> You can examine and configure the key bindings in the 'Keys' page in the 
> preferences. Which you can reach without the mouse by typing the keystroke 
> to open the preferences window (command-, on the Mac; can't remember what 
> it is on Linux), 

Maybe not bound to a key combination on my system -- at least I
didn't find one.

> then typing 'keys' and hitting return. 

Ooh.  Now that trick I did not know about.  (I had been navigating
to Keys and -- click, ick.  :-)  )

> The textbox at the 
> top of the page lets you search for commands by name; i don't think 
> there's a way to search by keystroke. You can then see what's bound, and 
> add bindings for things which aren't. There's a little window which shows 
> you any conflicts with bindings you add. You can set the context in which 
> they keystroke is bound; i believe 'In Windows' means it's bound 
> everywhere.

> From this, i can see that, on the Mac, command-F8 selects the next 
> perspective, and shift-command-F8 the previous one. 

Yes, this is the one (s/command/control/ for Linux) I remembered ....  
Huh.  I just tried it again, and it worked.  What I'm vaguely
remembering is that it sometimes it did and sometimes it didn't,
and I couldn't figure out why, and gave up.  Huh.

> There are a set of 
> 'Show Perspective (foo)' commands for all the perspectives (do not be 
> seduced by the commands called simply 'Java' and 'Java Browsing' - they 
> are false idols). On my machine, command-F1 to command-F6 are not bound 
> (in Eclipse), so they could be used.
>
> Toggle breakpoint is command-shift-B. Open breakpoint properties (but only 
> when in the breakpoints view) is option-return.

Huh.  That does sound vaguely familiar, and it's what the "Keys"
preferences page says too (though s/command/control/), but when 
I try using this key combination in an editor window, it inserts
a 'B'.  

-- 
B. L. Massingill
ObDisclaimer:  I don't speak for my employers; they return the favor.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-17 10:41 +0000
  Re: generics puzzle Steven Simpson <ss@domain.invalid> - 2011-10-17 13:14 +0100
    Re: generics puzzle Tom Anderson <twic@urchin.earth.li> - 2011-10-17 15:14 +0100
    Re: generics puzzle markspace <-@.> - 2011-10-17 07:33 -0700
      Re: generics puzzle Steven Simpson <ss@domain.invalid> - 2011-10-17 16:26 +0100
        Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-18 14:48 +0000
      Re: generics puzzle Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-10-17 15:36 +0000
    Re: generics puzzle Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-17 08:58 -0700
      Re: generics puzzle Steven Simpson <ss@domain.invalid> - 2011-10-18 10:45 +0100
        Re: generics puzzle Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-18 09:42 -0700
          Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-19 13:25 +0000
            Re: generics puzzle Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-19 10:04 -0700
              Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-20 14:14 +0000
                Re: generics puzzle Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-20 11:11 -0700
  Re: generics puzzle Robert Klemme <shortcutter@googlemail.com> - 2011-10-17 09:12 -0700
    Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-18 14:49 +0000
      Re: generics puzzle Robert Klemme <shortcutter@googlemail.com> - 2011-10-18 18:27 +0200
        Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-18 17:45 +0000
          Re: generics puzzle Robert Klemme <shortcutter@googlemail.com> - 2011-10-18 22:15 +0200
          Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-18 18:59 -0700
            Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-19 13:28 +0000
              Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-20 17:21 -0700
                Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-21 16:27 +0000
                Re: generics puzzle Robert Klemme <shortcutter@googlemail.com> - 2011-10-21 20:34 +0200
                Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-22 18:50 +0000
                Re: generics puzzle Tom Anderson <twic@urchin.earth.li> - 2011-10-22 21:02 +0100
                Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-25 07:04 +0000
                Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-25 23:25 -0700
                Re: generics puzzle Tom Anderson <twic@urchin.earth.li> - 2011-10-26 21:56 +0100
                Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-27 08:59 +0000
                eclipse shortcuts again (was Re: generics puzzle) blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-29 17:05 +0000
                Re: eclipse shortcuts again (was Re: generics puzzle) Four of Seventeen <fseventeen@gmail.com> - 2011-10-29 19:49 -0700
                Re: eclipse shortcuts again (was Re: generics puzzle) blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-31 11:17 +0000
                Re: eclipse shortcuts again (was Re: generics puzzle) Four of Seventeen <fseventeen@gmail.com> - 2011-10-31 05:39 -0700
                Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-23 01:30 -0700
                Re: generics puzzle Lew <lewbloch@gmail.com> - 2011-10-23 08:56 -0700
                Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-24 02:46 -0700
                Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-25 07:05 +0000
                Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-25 23:29 -0700
                Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-31 11:14 +0000
                Re: generics puzzle Four of Seventeen <fseventeen@gmail.com> - 2011-10-31 05:34 -0700
          Re: generics puzzle markspace <-@.> - 2011-10-18 21:21 -0700
            Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-19 13:29 +0000
              Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-20 17:22 -0700
                Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-21 16:28 +0000
              Re: generics puzzle Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-10-21 06:22 -0300
                Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-21 16:29 +0000
                Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-23 01:20 -0700
                Re: generics puzzle Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-23 09:51 +0000
                Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-23 03:28 -0700
                Re: generics puzzle Tom Anderson <twic@urchin.earth.li> - 2011-10-23 15:59 +0100
                Re: generics puzzle Eight of Seventeen <eights17@gmail.com> - 2011-10-24 02:46 -0700
                Re: generics puzzle Tom Anderson <twic@urchin.earth.li> - 2011-10-23 15:55 +0100
            Re: generics puzzle Tom Anderson <twic@urchin.earth.li> - 2011-10-20 21:00 +0100
          Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-19 13:26 +0000
          Re: generics puzzle Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-10-21 05:57 -0300
            Re: generics puzzle blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-21 16:28 +0000

csiph-web