Search code examples
keyboard-shortcutskeystroke

How to record my keystrokes during a kata?


To evaluate my performance doing a kata I want to record my keystrokes done during that kata. I want to compare keystrikes between katas so I can optimize to reduce keystrokes (use proper shortcuts).

Is there an tool that let's me do that similar to audio-recording or screen-grabbing? (I do not want to install an evil keylogger.)


Solution

  • For IntelliJ IDEA there is a plugin "IntelliJ Code Golf" in the list of JetBrains plugins. I noticed it first in IDEA 13.

    For Eclipse I wrote a plugin Keystrokes that records all your keystrokes and short-cuts. An typical output after starting the recording would look like

    ctrl-f6 
    end left ctrl-shift-left "new Array" ctrl-space "l" enter 
    ctrl-f11 up up down down enter (run test - OK)