Skip to content
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

Make the Create New Node favorites list committed to version control #10069

Open
Morokiane opened this issue Jun 29, 2024 · 2 comments
Open

Make the Create New Node favorites list committed to version control #10069

Morokiane opened this issue Jun 29, 2024 · 2 comments

Comments

@Morokiane
Copy link

Describe the project you are working on

Any game

Describe the problem or limitation you are having in your project

Godot on different computer do not have a shared favorite list for adding nodes.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

It would be nice to have a favorites node list of my favorites that is universal no matter which computer I am on. As of right now...if I open a project on a computer not setup for that project when I go to add nodes the favorite list is empty and I have to rebuild it.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

The favorites list can be stored in the godot.project or in its own file in the .godot folder.

If this enhancement will not be used often, can it be worked around with a few lines of script?

Probably?

Is there a reason why this should be core and not an add-on in the asset library?

I don't use the asset library and I should not have to go to the asset library and hope that it is maintained when it is such a simple feature.

@AThousandShips AThousandShips changed the title Universal Favorits Universal Favorites Jun 29, 2024
@Calinou
Copy link
Member

Calinou commented Jun 29, 2024

The downside of storing the node favorites list in project.godot is that it would create noise in version control diffs, as every team member changing the favorites list in one way or another would result in a project.godot modification. This can potentially lead to VCS merge conflicts as well – even if they're easy to resolve, they still cause friction.

I believe storing the node favorites list in the .godot/ folder is the current approach. This folder is not meant to be committed to version control, so you wouldn't find the favorites list on other devices unless you manually copied this folder.

@Calinou Calinou changed the title Universal Favorites Make the Create New Node favorites list committed to version control Jun 29, 2024
@KoBeWi
Copy link
Member

KoBeWi commented Jun 29, 2024

The favorites are stored in .godot/editor/favorites.Node. Godot does not manage the project's repository, it only provides a default .gitignore file and it's up to the user what they want to commit. So you can the favorites file as an exception in your ignore file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants