About Me

Training

Develop With Passion® - Developer Bootcamp

Subscribe

ReSharper Helper - AutoHotkey Script

Written March 12, 2009 at 18:08 MDT Tagged tools

In my quest to keep my fingers as close to home row as possible, I am publishing the script I used to allow me to hit most of the ReSharper shortcuts I use by staying on home row. To run this you will have to:


Here is the script:
;==========================
;Initialise
;==========================

NoEnv

SendMode Input
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode 2
;==========================
;Process Move Down A Method
;==========================
$!J::
Send, !{Down}
return
;==========================
;Process Move Up A Method
;==========================
$!K::
Send, !{Up}
return
;==========================
;Process Move Method Up
;==========================
$+!K::
Send, ^+!{Up}
return
;==========================
;Process Move Method Down
;==========================
$+!J::
Send, ^+!{Down}
return
;==========================
;Process Go to next usage
;==========================
$+!J::
Send, ^!{Down}
return
;==========================
;Process Go to previous usage
;==========================
$+!k::
Send, ^!{Up}
return
;==========================
;Process Generate Code
;==========================
$!I::
Send, !{Insert}
return
;==========================
;Highlight Current Usages
;==========================
$!8::
Send, ^+{F7}
return
;==========================
;Find Usages
;==========================
$!9::
Send, !{F7}
return
;==========================
;Next Error In Solution
;==========================
$!0::
Send, !{F12}
return