Add a dedicated action to open files (#22625)

Closes #22531
Closes #22250
Closes #15679

Release Notes:

- Add `workspace::OpenFiles` action to enable opening individual files
on Linux and Windows
This commit is contained in:
Cole Miller 2025-01-08 09:29:15 -05:00 committed by GitHub
parent 36301442dd
commit bbb473b8df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 95 additions and 38 deletions

View file

@ -759,6 +759,10 @@ impl Platform for MacPlatform {
done_rx
}
fn can_select_mixed_files_and_dirs(&self) -> bool {
true
}
fn reveal_path(&self, path: &Path) {
unsafe {
let path = path.to_path_buf();