0 votes

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

in Engine by (18 points)

1 Answer

0 votes

Only some of the gdscript editor text control code is exposed to gdscript. For example, syntax highlighting: https://docs.godotengine.org/en/stable/classes/class_textedit.html#class-textedit-property-syntax-highlighting

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.

by (864 points)

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.