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:
parent
36301442dd
commit
bbb473b8df
8 changed files with 95 additions and 38 deletions
|
@ -407,6 +407,11 @@ impl Platform for WindowsPlatform {
|
|||
rx
|
||||
}
|
||||
|
||||
fn can_select_mixed_files_and_dirs(&self) -> bool {
|
||||
// The FOS_PICKFOLDERS flag toggles between "only files" and "only folders".
|
||||
false
|
||||
}
|
||||
|
||||
fn reveal_path(&self, path: &Path) {
|
||||
let Ok(file_full_path) = path.canonicalize() else {
|
||||
log::error!("unable to parse file path");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue