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

Don't rescan filesystem when adding new directory #93372

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jun 19, 2024

Part of #50576
I decided to split #87917 into smaller parts and use a different approach. Instead of guessing new file tree and doing a shadow scan, I skip scanning completely and manually add entries to EditorFileSystem. Hopefully every case in #50576 can be fixed this way.

@KoBeWi KoBeWi added this to the 4.4 milestone Jun 19, 2024
@KoBeWi KoBeWi requested a review from a team as a code owner June 19, 2024 22:50
Copy link
Contributor

@Hilderin Hilderin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and that works perfectly, nice job! The idea to implement each operation individually sounds a great idea.

The only suggestion I could make but it's maybe out of scope of this PR is that if could be great to expand the FileSystemDock and select the folder after it's creation.

@akien-mga akien-mga merged commit 5b2eece into godotengine:master Sep 16, 2024
16 checks passed
@KoBeWi KoBeWi deleted the instant_folders,_like_instant_noodles,_but_for_storing_files branch September 16, 2024 11:46
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

4 participants