Hi, I am using this nice plugin as a module. I needed to move some stuff from gdscript to c++ so I could build it as a module. Would there be interest to also take these changes upstream?
This is my fork where I tried to make it a module: https://github.com/appsinacup/gdterm
Other things I added: I made a singleton where you can add tabs (bottom) and run commands.
Challenges:
- The main challenge with making this from a gdextension to a module are the custom fonts, icons, sounds and gdscripts. Sadly, these cannot be built into a module, so I had to remove some of that functionality and move it to cpp, or completely delete it.
- For my use cases, I wanted a place where I can run a command and it stays there for the whole duration of Godot being open (I am starting a
vscode tunnel command). I also added multiple tabs on the bottom thing, and made a higher level singleton where I can from other plugins run commands in terminal and start tabs.
The reason I want to run these commands in the terminal tab from down tab is so that users can see and copy-paste a URL from there, and see status of that tab.
Note:
It is possible to support both gdextension and module with just gdextension codebase by following: https://github.com/appsinacup/documentation_gdextension_to_module
However, it only works for pure cpp code, and for assets, only icons and documentation can be embedded.
Hi, I am using this nice plugin as a module. I needed to move some stuff from gdscript to c++ so I could build it as a module. Would there be interest to also take these changes upstream?
This is my fork where I tried to make it a module: https://github.com/appsinacup/gdterm
Other things I added: I made a singleton where you can add tabs (bottom) and run commands.
Challenges:
vscode tunnelcommand). I also added multiple tabs on the bottom thing, and made a higher level singleton where I can from other plugins run commands in terminal and start tabs.The reason I want to run these commands in the terminal tab from down tab is so that users can see and copy-paste a URL from there, and see status of that tab.
Note:
It is possible to support both gdextension and module with just gdextension codebase by following: https://github.com/appsinacup/documentation_gdextension_to_module
However, it only works for pure cpp code, and for assets, only icons and documentation can be embedded.