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

Improve waiting times (for regenerating project files) when adding multiple files in a row #11

Open
DenoDS opened this issue Jan 29, 2023 · 1 comment

Comments

@DenoDS
Copy link

DenoDS commented Jan 29, 2023

Easy way:
Add checkbox whether to regenerate project files to all dialog windows that can modify files in the project.
Little bit unsafe as you can end up with outdated project files.

Better? way:
Support chained adding in "FUnreal: Add Source" with a checkbox at the bottom saying something like "Add another", which would bring up new dialog. Regenerating project files would be triggered only once at the end of the chain.

@fdefelici
Copy link
Owner

Hi @DenoDS, thanks for the suggestion.

I was thinking about it but I rather opted out to keep a "transational" approach (to increase safety and consinstency of the project).

Anyhow is an idea I didn't abandoned and could be feaseble. Futhermore this feature should then handle also updating the files tree in Solution Explorer -as a visual feedback - while adding sources (by now this update is obtained as a side effect of the project reload after UBT file regeneration)

Another reasoning I come up with is the following:

  • with the "easy way" could be even possible make different kind of operation (add, delete, rename ) and then in the end regenerate (eventually paired with some handy shortcut for the user to disable regeneration and to force regeneration)
  • with the "better way" would be more "automatic" but related to a specific operation (like multiple add)

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

No branches or pull requests

2 participants