feat: Enhance file search with core plugin and Omnisearch integration

- Introduces a new match_search_files tool for fuzzy/keyword search, integrating with Obsidian's core search plugin and updating Omnisearch integration for improved file search capabilities.
- Adds settings for selecting search backends (core plugin, Omnisearch, ripgrep) for both regex and match searches.
- Updates language files, prompts, and types to support the new functionality.
- Restructures search-related files for better organization.
This commit is contained in:
travertexg
2025-06-09 15:15:16 +00:00
parent 350a49cef9
commit 9984527e85
18 changed files with 326 additions and 36 deletions

View File

@@ -81,6 +81,7 @@ export default {
copy: "Copy",
editOrApplyDiff: "{mode}: {path}",
loading: "Loading...",
matchSearchInPath: 'match search files "{query}" in {path}',
regexSearchInPath: 'regex search files "{regex}" in {path}',
createNewNote: "Create new note",
copyMsg: "Copy message",
@@ -227,10 +228,13 @@ export default {
auto: 'Auto',
semantic: 'Semantic',
regex: 'Regex',
match: 'Match',
regexBackend: 'Regex search backend',
regexBackendDescription: 'Choose the backend for regex search method.',
matchBackend: 'Match search backend',
matchBackendDescription: 'Choose the backend for match search method.',
ripgrep: 'ripgrep',
omnisearch: 'Omnisearch',
coreplugin: 'Core plugin',
ripgrepPath: 'ripgrep path',
ripgrepPathDescription: 'Path to the ripgrep binary. When using ripgrep regex search, this is required.',
},