Skip to content

Instantly share code, notes, and snippets.

@sl5net
Created June 5, 2015 14:31
Show Gist options
  • Save sl5net/760007cb0c50128f7cbd to your computer and use it in GitHub Desktop.
Save sl5net/760007cb0c50128f7cbd to your computer and use it in GitHub Desktop.
KeyValue for System.out.println() in IntelliJ IDEA
SetTitleMatchMode,2
#IfWinActive,- IntelliJ IDEA 14.1.3 ahk_class SunAwtFrame
^%::
+%::
if(StrLen(clipboard) < 100 )
{
c := clipboard
c2 := "{NumpadAdd} "" = " . c . "\n"""
strLen_c2 := StrLen(c2) - StrLen("{NumpadAdd}") + 1
Suspend,on
Send,%c% %c2%{ShiftDown}{Left %strLen_c2%}{ShiftUp}
Suspend,off
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment