GDScript - Code Editor Evaluate Expression Window

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By BenVella

There’s an Evaluate Selection option, accessible via Ctrl+Shift+E, but this appears to only do simple calculations. I’m posting this question to check whether a typical Evaluate Expression window exists for Godot GDScript or if this is not an option given the dynamic nature of the script.

Something like most other mainstream and standard IDEs would have where you can input any type of expression and the result is generated for you to inspect and view.

Is that something like the Python shell interpreter? If so, then the Godot editor doesn’t have one. Believe me, I’ve checked.

Ertain | 2020-07-13 23:48

:bust_in_silhouette: Reply From: Calinou

Godot currently doesn’t have a GDScript REPL/console/expression evaluator. There’s a proposal about it already. Also, there was a pull request which implemented one, but it wasn’t merged in the end.