Autoload Editor Features Profile

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

The Editor Feature Profiles (Editor > Manage Editor Features) allow you to disable features you don’t need in your current project. You can create several profiles for different projects and you can also export a profile to a .profile file.

Is there a way to load a profile file automatically when opening a project?

I think the way is to make a plugin and modify the EditorFeatureProfile class.
EditorFeatureProfile — Documentación de Godot Engine (4.x) en español

luislodosm | 2020-05-20 21:16

:bust_in_silhouette: Reply From: njamster

Is there a way to load a profile file automatically when opening a project?

I don’t think so, at least not from GDscript. :frowning: While you can create a profile from code using the EditorFeatureProfile-class, you would need access to a separate class (called EditorFeatureProfileManager) to actually apply that profile to the running editor. And as the EditorNode isn’t fully exposed to GDscript and EditorFeatureProfileManager is not a registered class, you currently cannot access that class from GDscript.

This issue recently proposed to manage feature profiles on a per-project-basis…

You are right. I couldn’t access to EditorFeatureProfileManager. Thank you so much for the link to the proposed feature.

luislodosm | 2020-05-22 12:15