Skip to content

Instantly share code, notes, and snippets.

@renatoch
Created May 28, 2015 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renatoch/1d99b7fb561e603478d8 to your computer and use it in GitHub Desktop.
Save renatoch/1d99b7fb561e603478d8 to your computer and use it in GitHub Desktop.
Specflow Auto Hotkey (AHK) script to remove #line before this.Feature in wrong places and make double clicking tests work
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance force
; * Sem ending chars (tab, enter, etc)
; C Case sensitive
#Hotstring C R *
::#linefeature::#line [\d]+\r\nthis.Feature`tthis.Feature`tEntire Solution
; Restaura necessidade de ending chars (tab, enter, etc)
#Hotstring *0
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment