tools: project-browser: reveal newly created and imported resources#774
Merged
dbartolini merged 1 commit intocrownengine:masterfrom Mar 7, 2026
Merged
tools: project-browser: reveal newly created and imported resources#774dbartolini merged 1 commit intocrownengine:masterfrom
dbartolini merged 1 commit intocrownengine:masterfrom
Conversation
Collaborator
|
Note for future PRs: you could have force-pushed to #771. It's less work for both of us. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After creating or importing a resource, the project browser now
automatically reveals it.
Resource creation (scripts, units, materials, state machines) was
wired up via
compile_and_reveal_resource(). Newly created foldersare also auto-expanded in the project browser.
For imports, the Import delegate signature was extended to pass back
the path of the primary output resource:
Each importer passes back its primary output on success:
on_import_result()then callscompile_and_reveal_resource()so bothcreation and import share the same reveal path.
Closes #201