Skip to content

Add Locate in System action to open folder of file.#9246

Open
neilcsmith-net wants to merge 1 commit intoapache:masterfrom
neilcsmith-net:locate-file
Open

Add Locate in System action to open folder of file.#9246
neilcsmith-net wants to merge 1 commit intoapache:masterfrom
neilcsmith-net:locate-file

Conversation

@neilcsmith-net
Copy link
Member

Replace macOS specific Show in Finder action with an action available on all OS to open the parent folder of any file.

Follow up to conversation in #9245 Should remove unnecessary reflection usage (add-exports not yet removed), and make this action available across all OS as has been requested various times before.

Uses Desktop::browseFileDirectory if supported, which selects the file in the file browser.

Do not merge pending #9245

Replace macOS specific Show in Finder action with an action available on all
OS to open the parent folder of any file.
@neilcsmith-net neilcsmith-net requested a review from mbien March 5, 2026 11:14
@neilcsmith-net neilcsmith-net added Code cleanup Label for cleanup done on the Netbeans IDE do not merge Don't merge this PR, it is not ready or just demonstration purposes. Platform [ci] enable platform tests (platform/*) ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Mar 5, 2026
@mbien
Copy link
Member

mbien commented Mar 5, 2026

seems to be similar to #7081, but I believe it did also allow to open folders as tabs in NB, additionally to the system action.

@neilcsmith-net
Copy link
Member Author

Wish I'd remembered to look again at that before spending time on this one! 😄 However, this is somewhat different in that it is primarily to maintain the existing macOS behaviour without reflection, while providing something similar elsewhere.

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

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Code cleanup Label for cleanup done on the Netbeans IDE do not merge Don't merge this PR, it is not ready or just demonstration purposes. Platform [ci] enable platform tests (platform/*)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants