Autocomplete in text edit

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

Is there a way to autocomplete in the text edit node, so i can make some gd script editor myself and have my program autocomplete for gdscript

:bust_in_silhouette: Reply From: JimArtificer

Only some of the gdscript editor text control code is exposed to gdscript. For example, syntax highlighting: TextEdit — Godot Engine (stable) documentation in English

If you are looking to embed a gdscript editor in a project, and you generally like the current editor, the best approach would be to find a way to reuse the existing control. My assumption is that it is a C++ control, but you could confirm that by looking at the source code.

Is there a way to easily embed this into a godot project?

skitzoid | 2022-07-30 12:13