0 votes

I was thinking on writing a snippet plugin for the code editor but I can't seem to find the class. To be sure, the only way is through source code? Thanks in advance. :-)

in Engine by (82 points)

1 Answer

+1 vote

In my plugin i'm passed by the display list and the types:
EditorPlugin::geteditorviewport() > ScriptEditor > HSplitContainer > TabContainer
Then TabContainer::getcurrenttab_control() and TextEdit.
But if the hierarchy change all is broken.

by (120 points)

Even if the hierarchy is changed, it will be an easy fix.

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.