Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL/Console Commands support #795

Open
btarg opened this issue Feb 13, 2025 · 2 comments
Open

REPL/Console Commands support #795

btarg opened this issue Feb 13, 2025 · 2 comments

Comments

@btarg
Copy link
Contributor

btarg commented Feb 13, 2025

Godot version

4.3.stable

VS Code version

1.93.1

Godot Tools VS Code extension version

2.3.0

System information

Windows 11

Problem statement

While debugging, VS Code allows you to type commands into the console, which currently (in my testing) does nothing.

Proposed solution

Godot 4.4 will be getting a REPL, so I would like for VS Code's console to have similar functionality!

@DaelonSuzuka
Copy link
Collaborator

There was partial repl support added by a contributor last year, but there may have been a regression. Thanks to @MichaelXt we now have a godot-in-the-loop test suite, so we can try to get that working again and then finish what's missing.

@btarg
Copy link
Contributor Author

btarg commented Feb 13, 2025

I've been using a fork of a plugin by jitspoe to add an in-game debug console which works similarly to source/creation engine games. Would it be out of scope to suggest a similar API where custom "commands" can be created? Or maybe "aliases", which can act as shortcuts to longer commands - e.g. instead of typing $/root/MyNode.my_function() i could type myfunction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants