-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store per-project editor feature profile name in project.godot
and automatically set corresponding profile as current
#827
Comments
project.godot
and automatically set it
It would make editor profiles viable for users who'd jump between 2D and 3D. I do not think it's reasonable to expose it to gdscript, unless we change it to a project setting instead of an editor setting, which could be a way to go. |
A proof of concept could work as follows:
It could also be worth discussing whether projects could ship a top-level Editor feature profile code: https://github.com/godotengine/godot/blob/master/editor/editor_feature_profile.cpp |
Seems good to me. Even better than using the |
Would |
Projects should be able to ship their own profiles somehow, even if the user hasn't installed them in advance. It's important to be able to I guess this could be accomplished by storing a suggested profile name in |
@Calinou thanks for your proof-of-concept suggestion. I thought more about the specific details of a possible implementation and re-described them in the first post. |
project.godot
and automatically set itproject.godot
and automatically set corresponding profile as current
project.godot
and automatically set corresponding profile as currentproject.godot
and automatically set corresponding profile as current
Describe the project you are working on:
Multiple projects at the same time (2d/3d/plugin).
Describe the problem or limitation you are having in your project:
Currently it's annoying to switch the current feature profile when opening another project.
For example, I disable all 3d stuff when work with 2d only. And when I switch to another project with 3d stuff, I have to reset current profile. When I return to 2d project, I set 2d profile back. It's not very convenient and spends a little time.
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Per-project editor feature profile selection.
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
Store current feature profile name in project settings in
Editor->Run
category asProject Feature Profile
property.Use the following algorithm for editor feature profile selection:
For
Manage Editor Feature Profiles
instead of "Make Current" add "Make global default" and "Make Project default" buttons. "Make global default" will modify_default_feature_profile
fromeditor_features
file and set as project current profile is no "project default" selected."Make Project default" will have warning (?) with recommendations about usage with Git (for Git it will be better to store feature profile in project directory) and profile naming (if profile is stored in project directory and
editor_feature_profiles/
folder already has profile with same name, user will need to manually delete this global feature profile if its necessary).Also in profiles list instead of
(current)
flag (?) will be(global default)
and(project default)
flags - both are optional.If this enhancement will not be used often, can it be worked around with a few lines of script?:
As often as custom editor feature profiles
It is possible to implement as plugin, but right no there are no global plugins. Having this as per-project plugin will be almost useless.
Is there a reason why this should be core and not an add-on in the asset library?:
Having this as per-project plugin will be almost useless because of usability reasons but still possible.
The text was updated successfully, but these errors were encountered: