pub struct FileSearchConfig;Expand description
Default configuration for file picker - all features enabled
Trait Implementations§
Source§impl Clone for FileSearchConfig
impl Clone for FileSearchConfig
Source§fn clone(&self) -> FileSearchConfig
fn clone(&self) -> FileSearchConfig
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 FileSearchConfig
impl Debug for FileSearchConfig
Source§impl Default for FileSearchConfig
impl Default for FileSearchConfig
Source§fn default() -> FileSearchConfig
fn default() -> FileSearchConfig
Returns the “default value” for a type. Read more
Source§impl ParserConfig for FileSearchConfig
impl ParserConfig for FileSearchConfig
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 FileSearchConfig
Auto Trait Implementations§
impl Freeze for FileSearchConfig
impl RefUnwindSafe for FileSearchConfig
impl Send for FileSearchConfig
impl Sync for FileSearchConfig
impl Unpin for FileSearchConfig
impl UnsafeUnpin for FileSearchConfig
impl UnwindSafe for FileSearchConfig
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