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

Please vote: Configurable port for Editor HTTP API · Issue #8737 · defold/defold · GitHub

I’m using this method for buid and hot reload:

1 Like