How to use Godot script editor as a control-node?

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

Godot has two very nice text edit controls: TextEdit and CodeEdit (4.0+), but they seem a bit too generic. What I’m looking for is a control to edit GDScript with syntax highlighting and auto-completion, just like Godot script editor.

I’m just making a map editor for one old RPG game and I want to embed a scripting editor so that users can write plugins for it. I think GDScript is a good choice, because it already presents in my app since it’s Godot based.

For now I see the only option is to take one of those (TextEdit/CodeEdit) and configure it the way to be as close to original editor as possible, but even so I’m not sure it will be as powerful as original editor.

Sorry, if it was already asked, but I couldn’t find existing question.