Triggering Build and Hot reload on Editor

#1

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

7 Likes

How can you build and run from VSCode?
#2

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

#3

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

1 Like