Mountain/Command/LanguageFeature/
MountainProvideReferences.rs1
2use serde_json::Value;
6use tauri::{AppHandle, Wry, command};
7
8use crate::{Command::LanguageFeature::References, dev_log};
9
10#[command]
11pub async fn MountainProvideReferences(
12 application_handle:AppHandle<Wry>,
13
14 uri:String,
15
16 position:Value,
17
18 context:Value,
19) -> Result<Value, String> {
20 dev_log!(
21 "commands",
22 "[Language Feature] Providing references for: {} at {:?}",
23 uri,
24 position
25 );
26
27 References::provide_references_impl(application_handle, uri, position, context).await
28}