godot-embed-external-editor
godot-embed-external-editor copied to clipboard
ahk instead of build godot
Hello, I'm developing JetBrains plugin for Godot and found this addon on redit -> which is exactly what I need, but I don't really like, that I have to build my own Godot from source. I've tried to overcome this, by using AutoHotKey scripts called from Godot -> so instead of accessing directly WinApi I just call script, which access it for me.
Problem I've could not overcome is, that even after reparenting IntelliJ under the Godot window, it does not accept Inputs. I can click on line - which get selected, but curor doesn ot appear nor it accepts any keyboard input to edit the script.
Might you have any idea, what this might be causing? I known it's not exactly your problem or your's plugin, but I don't know where else to ask. :)
Not sure if this approach would be ok for you - there are hacks like for not being able to store hwnd for example so I must store it into .txt file, then read it from there and such... but maybe it's worth instead of custom Godot build?
https://gitlab.com/IceExplosive/IntelliGodot
Hi,
It probably wouldn't be too difficult to modify my addon to also work with other external editors, but I don't really have time or motivation for something I don't personally need. It's mainly a matter of detecting the editor via title/process name, and maybe some per-application quirks that need different flags or something.
I don't really like, that I have to build my own Godot from source.
I understand, even though I've found that Godot isn't a very difficult project to build compared to other C++ projects I tried contributing for, the instructions in the manual are pretty clear and no CMake etc. is involved. Also I might be wrong about this, but GDExtension doesn't need a whole Godot build, just godot-cpp. Maybe easier for you to set up?
That being said, I assume I'd need to update this addon again to latest Godot master - there's been a lot of changes since.
I've tried to overcome this, by using AutoHotKey scripts
I don't think it's as clean of a solution to rely on external applications like AHK, but it might be enough for you personally? I have not much experience with it, but it probably should be capable of the task.
Godot window, it does not accept Inputs
I assume it's related to the window long and/or the show window flags. Maybe the ones I'm using can help? Not sure, sorry!