pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

[SOLVED] Shortcut CMD-v for version history

DV
Davide Varvello
Sat, May 25, 2024 4:42 AM

Hi,
If you too miss some shortcuts like... cmd-v to show the versions of a method, here is the solution, you have to add methodShortcutActivation to SycShowMethodVersionCommand class:

SycShowMethodVersionCommand class >> methodShortcutActivation
<classAnnotation>
^ CmdShortcutActivation by: $v meta for: ClyMethod asCalypsoItemContext

HTH
Cheers
Davide

Hi, If you too miss some shortcuts like... cmd-v to show the versions of a method, here is the solution, you have to add methodShortcutActivation to SycShowMethodVersionCommand class: SycShowMethodVersionCommand class >> methodShortcutActivation <classAnnotation> ^ CmdShortcutActivation by: $v meta for: ClyMethod asCalypsoItemContext HTH Cheers Davide
SD
stephane ducasse
Sat, May 25, 2024 5:07 PM

Since this mailing-list is not a bug tracker I created an issue with the feature.

https://github.com/pharo-project/pharo/issues/16694

I will not comment this but smart people will easily guess.
Now Pharo is more important than that.

S

On 25 May 2024, at 06:42, Davide Varvello via Pharo-users pharo-users@lists.pharo.org wrote:

Hi,
If you too miss some shortcuts like... cmd-v to show the versions of a method, here is the solution, you have to add methodShortcutActivation to SycShowMethodVersionCommand class:

SycShowMethodVersionCommand class >> methodShortcutActivation
<classAnnotation>
^ CmdShortcutActivation by: $v meta for: ClyMethod asCalypsoItemContext

HTH
Cheers
Davide

Stéphane Ducasse
http://stephane.ducasse.free.fr
06 30 93 66 73

"If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes

Since this mailing-list is not a bug tracker I created an issue with the feature. https://github.com/pharo-project/pharo/issues/16694 I will not comment this but smart people will easily guess. Now Pharo is more important than that. S > On 25 May 2024, at 06:42, Davide Varvello via Pharo-users <pharo-users@lists.pharo.org> wrote: > > Hi, > If you too miss some shortcuts like... cmd-v to show the versions of a method, here is the solution, you have to add methodShortcutActivation to SycShowMethodVersionCommand class: > > SycShowMethodVersionCommand class >> methodShortcutActivation > <classAnnotation> > ^ CmdShortcutActivation by: $v meta for: ClyMethod asCalypsoItemContext > > HTH > Cheers > Davide Stéphane Ducasse http://stephane.ducasse.free.fr 06 30 93 66 73 "If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes
DV
Davide Varvello
Sun, May 26, 2024 10:22 AM

👏

On Saturday, May 25, 2024 at 07:07:24 PM GMT+2, stephane ducasse stephane.ducasse@inria.fr wrote:

Since this mailing-list is not a bug tracker I created an issue with the feature.

https://github.com/pharo-project/pharo/issues/16694

I will not comment this but smart people will easily guess.
Now Pharo is more important than that.

S

On 25 May 2024, at 06:42, Davide Varvello via Pharo-users pharo-users@lists.pharo.org wrote:

Hi,
If you too miss some shortcuts like... cmd-v to show the versions of a method, here is the solution, you have to add methodShortcutActivation to SycShowMethodVersionCommand class:

SycShowMethodVersionCommand class >> methodShortcutActivation
<classAnnotation>
^ CmdShortcutActivation by: $v meta for: ClyMethod asCalypsoItemContext

HTH
Cheers
Davide

Stéphane Ducasse
http://stephane.ducasse.free.fr
06 30 93 66 73

"If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes

👏 On Saturday, May 25, 2024 at 07:07:24 PM GMT+2, stephane ducasse <stephane.ducasse@inria.fr> wrote: Since this mailing-list is not a bug tracker I created an issue with the feature. https://github.com/pharo-project/pharo/issues/16694 I will not comment this but smart people will easily guess. Now Pharo is more important than that. S > On 25 May 2024, at 06:42, Davide Varvello via Pharo-users <pharo-users@lists.pharo.org> wrote: > > Hi, > If you too miss some shortcuts like... cmd-v to show the versions of a method, here is the solution, you have to add methodShortcutActivation to SycShowMethodVersionCommand class: > > SycShowMethodVersionCommand class >> methodShortcutActivation > <classAnnotation> > ^ CmdShortcutActivation by: $v meta for: ClyMethod asCalypsoItemContext > > HTH > Cheers > Davide Stéphane Ducasse http://stephane.ducasse.free.fr 06 30 93 66 73 "If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes