Re: Issue 439 in pharo: Change autocompletion shortcut from cmd-q to ...?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Issue 439 in pharo: Change autocompletion shortcut from cmd-q to ...?

pharo
Updates:
        Status: NextActionNeeded
        Cc: [hidden email] [hidden email]

Comment #16 on issue 439 by [hidden email]: Change autocompletion  
shortcut from cmd-q to ...?
http://code.google.com/p/pharo/issues/detail?id=439

Not even sure what should be done with this one anymore, a lot has changed  
in 3 years...

Wait for Nautilus to replace default browsers, and (hopefully) include  
completion support?
Use the KeyBindings to define a better one/clean KeyDecodeTable as needed?
Ignore it, and presume those wanting completion support load E/OCompletion?

Would be nice to be able to close it after deciding which of the above is  
realistic :)



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 439 in pharo: Change autocompletion shortcut from cmd-q to ...?

pharo

Comment #17 on issue 439 by [hidden email]: Change autocompletion  
shortcut from cmd-q to ...?
http://code.google.com/p/pharo/issues/detail?id=439

Ctrl+space in windows and unix?  It's the usual thing in eclipse, visual  
studio, jetbrains ides...

I do not know how they get mapped in macOS...

He, this issue has some implicancies:

- I'd like the cmd+q simple completion to be plugged/unplugged with  
e/ocompletion or whatever completion mechanism we want to use in the future.
(Today this is delegated to Smalltalk tools in TextMorph:

see TextMorph>>#codeCompletionAround:  aBlock textMorph:  aTextMorph  
keyStroke: anEvent
     Smalltalk tools codeCompletionAround: aBlock textMorph: aTextMorph  
keyStroke: anEvent

- keymapping today suffers from the KeyDecodeTable :(.  I think something  
should be done with it, like:
    * eliminate it and make the 3 vms send the same keycodes to the image, or
    * have a KeyDecodeTable for each platform at image side

I can work on the vm side for keyboard stuff if needed...


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 439 in pharo: Change autocompletion shortcut from cmd-q to ...?

pharo

Comment #18 on issue 439 by [hidden email]: Change autocompletion  
shortcut from cmd-q to ...?
http://code.google.com/p/pharo/issues/detail?id=439

In eclipse on mac, it's ctrl+space too :)

Waiting for Nautilus will not change anything thinks it's not the only way  
to enter text.
This should be handle at the morph level, not the model's one.


For sur cleaning the VMs to be sure they all send the same event could be  
_REALLY_ cool :) But I presume it's a lot of work


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 439 in pharo: Change autocompletion shortcut from cmd-q to ...?

pharo

Comment #19 on issue 439 by [hidden email]: Change autocompletion  
shortcut from cmd-q to ...?
http://code.google.com/p/pharo/issues/detail?id=439

Not so... Only two tables with 256 entries are to be fixed :P.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 439 in pharo: Change autocompletion shortcut from cmd-q to ...?

pharo

Comment #20 on issue 439 by [hidden email]: Change autocompletion  
shortcut from cmd-q to ...?
http://code.google.com/p/pharo/issues/detail?id=439

Here is a class that activates the same behavior of cmd-q and gets  
activated with the same codeCompletionAround:... of E/OCompletion

Dunno how to package it yet...

Attachments:
        simple completion.1.cs  6.3 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker