Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Customizable Keybindings in Eclipse 2.1 M3

Randy,

We have no plans to support keybinding configurations on a per file type 
basis for 2.1.
It's an interesting idea though.  Please file a feature request.  Perhaps 
you or somebody else would be interested in contributing such a feature.

Nick






Randy Hudson <hudsonr@xxxxxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
11/15/02 08:36 AM
Please respond to platform-ui-dev

 
        To:     platform-ui-dev@xxxxxxxxxxx
        cc: 
        Subject:        Re: [platform-ui-dev] Customizable Keybindings in Eclipse 2.1 M3



My understanding is that scopes are defined by the application, and not 
the User. Also, scopes are nested inside of a configuration, correct?  And 
only configurations are user-selectable. 

Regardless of where the Keybindings for HTML and WYWIWYG belong (config. 
vs. scope), the user needs to be able to choose them separately for 
unrelated types of Editors. 




"Simon Arsenault" <Simon_Arsenault@xxxxxxx> 
Sent by: platform-ui-dev-admin@xxxxxxxxxxx 
11/14/2002 04:49 PM 
Please respond to platform-ui-dev 
        
        To:        platform-ui-dev@xxxxxxxxxxx 
        cc:         
        Subject:        Re: [platform-ui-dev] Customizable Keybindings in 
Eclipse 2.1 M3 

 



See comments below

Simon :-)



  
                     Randy Hudson   
                     <hudsonr@xxxxxxxxxx>           To: 
platform-ui-dev@xxxxxxxxxxx 
                     Sent by:                       cc:    
                     platform-ui-dev-admin@         Subject: Re: 
[platform-ui-dev] Customizable Keybindings in 
                     eclipse.org                    Eclipse 2.1 M3         
 
  
  
                     11/14/02 04:00 PM   
                     Please respond to   
                     platform-ui-dev   
  
  




The Keybinding implementation seems to be based on the following
assumption: there is only User "Configuration".  I don't understand why
this is true. Why would I want an emacs KeyBinding to edit an RTF file, or
an HTML file (in WYSIWYG mode)? For an RTF file, I should be able to 
choose
configurations like "Microsoft Word", "WordPerfect", etc. For an HTML 
file,
I should be able to choose configurations like "Page Designer", or
"DreamWeaver".

SA> Using scopes, a key configuration can accomplish this. That is, you
could have Ctrl+B to do the bold action in an WYSIWYG editor scope (for
example HTML), and Ctrl+B to do a build in a coding editor scope (for
example a Java editor).

The configuration for these types of editors is not related to the
configuration for "source" editors, which is the only configuration option
that I see in the current builds. Is it the responsibility of the plugin
provider who owns an HTML editor to host the preference page for these
additional confurations?  If so, can they hook into the Keybinding
management system, and reuse the UI that let's Users redefine bindings?

SA> Hopefully, the workbench will define a number of well known scopes
which editor developers can use. Then anyone can provide the accelerator
set(s) - for example, say a "Page Designer" style for the "graphical
editing" scope.


-Randy Hudson


 
  "Chris McLaren" 
  <Chris_McLaren@xxxxxxx>           To:        eclipse-dev@xxxxxxxxxxx, 
  Sent by:                  platform-ui-dev@xxxxxxxxxxx 
  platform-ui-dev-admin@ecl         cc: 
  ipse.org                          Subject:        [platform-ui-dev] 
                            Customizable Keybindings in Eclipse 2.1 M3 
 
  11/13/2002 01:18 PM 
  Please respond to 
  platform-ui-dev 
 




There is a new keybinding architecture in place for Eclipse 2.1 M3. Users
can now customize key sequences to invoke many of the actions within
Eclipse.

The keybinding engine itself should be quite stable by this point, but
there is some work which remains to be completed over the next couple of
weeks:

1. The UI (located on the preference dialog -> workbench -> key bindings)
is a very recent addition (I can count the hours). It is not functionally
complete and there are known and obvious bugs.
2. The plugin.xml files need to be generally reviewed across eclipse to
ensure actions are properly exposed for key binding customization, as well
as ensuring that the out-of-the-box keybindings for various platforms are
correctly defined.
3. Full documentation on our keybinding architecture needs to be completed
and disseminated.

Known issues in the keybindings UI:

1. You can't type in a new key sequence yet. For now, you are limited to
choosing one of the existing key sequences and overriding actions therein.
2. I have hidden row selection on the table until such time as I can make
it useful to select an existing key binding for editing.
3. Non-destructive rendering bug: when you customize a binding and press
set, the default value will always be printed as '(undefined').
4. Advanced features for displaying out-of-the-box keybinding conflicts
between plugins are missing.
5. Tooltip descriptions and icons are not being displayed for actions.
6. I plan on removing the 'Set' button entirely to enable a live and more
intuitive view between the primary controls and the table.
7. I am considering adding a means to display all the key sequences for a
given action.

Thanks,
Chris


_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev




_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev





Back to the top