Skip to main content

SearchFindInFiles

Function SearchFindInFiles 

Source
pub async fn SearchFindInFiles(
    RunTime: Arc<ApplicationRunTime>,
    Arguments: Vec<Value>,
) -> Result<Value, String>
Expand description

search:findInFiles / search:textSearch / search:searchText.

Wire contract (VS Code’s ProxyChannel.toService(search) path): positional Arguments = [TextSearchQuery, TextSearchOptions]. The trait method SearchProvider::TextSearch accepts the raw JSON and does its own serde_json::from_value::<TextSearchQuery> so callers can keep sending arbitrary shapes - we pass through directly.