pub struct FilePickerConfig;Expand description
Default configuration for file picker - all features enabled
Trait Implementations§
Source§impl Clone for FilePickerConfig
impl Clone for FilePickerConfig
Source§fn clone(&self) -> FilePickerConfig
fn clone(&self) -> FilePickerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FilePickerConfig
impl Debug for FilePickerConfig
Source§impl Default for FilePickerConfig
impl Default for FilePickerConfig
Source§fn default() -> FilePickerConfig
fn default() -> FilePickerConfig
Returns the “default value” for a type. Read more
Source§impl ParserConfig for FilePickerConfig
impl ParserConfig for FilePickerConfig
Source§fn parse_custom<'a>(&self, token: &'a str) -> Option<Constraint<'a>>
fn parse_custom<'a>(&self, token: &'a str) -> Option<Constraint<'a>>
Detect bare filenames (score.rs) and path-prefixed filenames (src/main.rs)
as FilePath constraints so that multi-token queries like score.rs file_picker
filter by filename first, then fuzzy-match the remaining text against the path.
fn enable_glob(&self) -> bool
Source§fn enable_extension(&self) -> bool
fn enable_extension(&self) -> bool
Should parse extension shortcuts (e.g., *.rs)
Source§fn enable_exclude(&self) -> bool
fn enable_exclude(&self) -> bool
Should parse exclusion patterns (e.g., !test)
Source§fn enable_path_segments(&self) -> bool
fn enable_path_segments(&self) -> bool
Should parse path segments (e.g., /src/)
Source§fn enable_type_filter(&self) -> bool
fn enable_type_filter(&self) -> bool
Should parse type constraints (e.g., type:rust)
Source§fn enable_git_status(&self) -> bool
fn enable_git_status(&self) -> bool
Should parse git status (e.g., status:modified)
Source§fn enable_location(&self) -> bool
fn enable_location(&self) -> bool
Should parse location suffixes (e.g., file:12, file:12:4)
Disabled for grep modes where colon-number patterns like localhost:8080
are search text, not file locations.
impl Copy for FilePickerConfig
Auto Trait Implementations§
impl Freeze for FilePickerConfig
impl RefUnwindSafe for FilePickerConfig
impl Send for FilePickerConfig
impl Sync for FilePickerConfig
impl Unpin for FilePickerConfig
impl UnsafeUnpin for FilePickerConfig
impl UnwindSafe for FilePickerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more