feat: implement integrated OS terminal for Godot Editor#1
feat: implement integrated OS terminal for Godot Editor#1
Conversation
- Created `project.godot` to initialize the project space. - Implemented `addons/dotshell/plugin.cfg` and `plugin.gd` to load the plugin into the Godot bottom panel and toggle it via `Ctrl + \``. - Designed MVC architecture: - `ShellModel`: Manages state, working directory and command history. - `ShellController`: Executes OS commands in a background thread and handles `cd` internally to update the persistent state. - `TerminalView`: Provides the UI with a `RichTextLabel` for output and `LineEdit` for command input. - Kept the plugin editor-only by utilizing `Engine.is_editor_hint()`.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This pull request implements an integrated OS terminal inside the Godot Editor, similar to VSCode's terminal. It creates an editor-only plugin that can be toggled via `Ctrl + ``.
Features:
ShellModel,ShellController,TerminalView).Threadto run OS commands without blocking or freezing the Godot editor.cdcommand to persistently update the terminal's working directory.PR created automatically by Jules for task 12593246739520679294 started by @gumaciel