Skip to main content

Module NativeDialog

Module NativeDialog 

Source
Expand description

Native dialog (open / save) handler atoms.

Modules§

DialogFilter
Tauri-shaped filter entry for native open/save dialogs. Pairs a human-readable category name (“VSIX Extensions”) with a list of extensions (["vsix"]). Consumed by tauri_plugin_dialog’s add_filter(name, &[&str]) once the list is flattened.
ParseDialogFilters
Parse options.filters from a VS Code showOpenDialog call into the DialogFilter shape the Tauri dialog plugin accepts. Silently skips malformed or empty entries - the user still gets the picker, just without the filter hint.
ShowOpenDialog
nativeHost:showOpenDialog handler. Wires VS Code’s nativeHostService.showOpenDialog(options) contract to Tauri’s dialog plugin.