The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.
TypeScript code-editorcross-platformdapdatabase-clientdebuggerdesktop-appdeveloper-toolsgithttp-clientideintellijlsprusttauriterminal
test(plugins): build the command template with the SDK's lockfile
l0ng-aic1ea7a9ef21c
diff --git a/crates/ide-host/src/bin/openidea-plugin/main.rs b/crates/ide-host/src/bin/openidea-plugin/main.rsindex 7d07cbef3..ef9a7fa76 100644--- a/crates/ide-host/src/bin/openidea-plugin/main.rs+++ b/crates/ide-host/src/bin/openidea-plugin/main.rs@@ -946,8 +946,12 @@ mod tests {std::fs::create_dir_all(path.parent().unwrap()).unwrap();std::fs::write(path, content).unwrap();}+ // The SDK's lockfile keeps the versions its own CI builds with (the resolver also+ // looks up the wasm-only dependencies, which may not be downloaded yet).+ let sdk_lock = concat!(env!("CARGO_MANIFEST_DIR"), "/../../sdk/rust/openidea-plugin/Cargo.lock");+ std::fs::copy(sdk_lock, plugin.join("Cargo.lock")).unwrap();let out = Command::new(std::env::var("CARGO").unwrap_or_else(|_| "cargo".into()))- .args(["test", "--offline", "--manifest-path"])+ .args(["test", "--manifest-path"]).arg(plugin.join("Cargo.toml")).env("CARGO_TARGET_DIR", dir.join("target")).output()