diff --git a/client/src/extension.ts b/client/src/extension.ts
index 160b122..503346e 100644
--- a/client/src/extension.ts
+++ b/client/src/extension.ts
@@ -55,7 +55,7 @@ async function downloadLspBinary(context: ExtensionContext) {
const preferNightly = !!workspace.getConfiguration("odoo-lsp.binary").get("preferNightly");
const overrideVersion = workspace.getConfiguration("odoo-lsp.binary").get("overrideVersion");
- let release = overrideVersion || 'nightly';
+ let release = overrideVersion || "nightly";
if (!preferNightly && !overrideVersion) {
release = context.extension.packageJSON._release || release;
}
diff --git a/src/backend.rs b/src/backend.rs
index c87ee77..1849224 100644
--- a/src/backend.rs
+++ b/src/backend.rs
@@ -4,7 +4,6 @@ use std::sync::atomic::Ordering::Relaxed;
use std::sync::atomic::{AtomicBool, AtomicUsize};
use dashmap::{DashMap, DashSet};
-use futures::executor::block_on;
use globwalk::FileType;
use lasso::{Key, Spur};
use log::debug;
@@ -19,7 +18,7 @@ use odoo_lsp::config::{Config, ModuleConfig, ReferencesConfig, SymbolsConfig};
use odoo_lsp::index::{interner, Index, Interner, ModuleName, RecordId, SymbolSet};
use odoo_lsp::model::{Field, FieldKind, ModelEntry, ModelLocation, ModelName};
use odoo_lsp::record::Record;
-use odoo_lsp::utils::isolate::Isolate;
+// use odoo_lsp::utils::isolate::Isolate;
use odoo_lsp::{some, utils::*};
pub struct Backend {
@@ -33,7 +32,7 @@ pub struct Backend {
pub root_setup: AtomicBool,
pub symbols_limit: AtomicUsize,
pub references_limit: AtomicUsize,
- pub isolate: Isolate,
+ // pub isolate: Isolate,
}
#[derive(Debug, Default)]
@@ -325,19 +324,24 @@ impl Backend {
}),
}))
}
- pub fn jump_def_field_name(&self, field: &str, model: &str) -> miette::Result