Triggering Build and Hot reload on Editor

It would be nice to have a way for triggering Build and Hot reloading on Editor(not with bob). Then we can use it for 3th party IDEs

9 Likes

Meanwhile I’m sending keystrokes to the Editor on Windows from Atom using this Autohotkey script:

#IfWinActive ahk_exe atom.exe
^+b::
SetTitleMatchMode, 2
WinActivate, Defold Editor
Send, ^b
return

#IfWinActive ahk_exe atom.exe
^+r::
SetTitleMatchMode, 2
WinActivate, Defold Editor
Send, ^r
return

Ctrl+Shift+B : Sends a Ctrl+B (Build) to Defold Editor.
Ctrl+Shift+R : Sends a Ctrl+R (Hot reload) to Defold Editor.

Maybe helpful for someone.
Change ‘atom.exe’ for other editors, like ‘code.exe’ for Visual Studio Code.

2 Likes

Sooo cool. Need to find something similar for mac :slight_smile:

1 Like