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
fix(plugins): collapse the tables fixture field guard (#2041)
Arnaud Rittibb99c7c4d139
diff --git a/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm b/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasmindex 8ba901fb3..fe0740917 100644Binary files a/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm and b/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm differdiff --git a/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm.sources b/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm.sourcesindex 81c493224..240f79053 100644--- a/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm.sources+++ b/crates/ide-plugin/tests/fixtures/tables/dist/plugin.wasm.sources@@ -1 +1 @@-b3537c1754f80177a3bf46150da3ebab4853d61b8cad1aad41da3fdeee5a7c61+c6698547bcda49a08bacd6d0876af74ae901d4c32e3c32b014a7679fd96f32c0diff --git a/crates/ide-plugin/tests/fixtures/tables/src/lib.rs b/crates/ide-plugin/tests/fixtures/tables/src/lib.rsindex 6b8930748..2403c59d4 100644--- a/crates/ide-plugin/tests/fixtures/tables/src/lib.rs+++ b/crates/ide-plugin/tests/fixtures/tables/src/lib.rs@@ -81,11 +81,11 @@ impl Views for Tables {fn handle(&mut self, view: &str, event: ViewEvent, _ctx: &Invocation) -> Result<(), Error> {if view == "fields" {- if let ViewEvent::Field(key, value) = event {- if key == "editable" {- self.note = Some(value);- host::refresh_view("fields");- }+ if let ViewEvent::Field(key, value) = event+ && key == "editable"+ {+ self.note = Some(value);+ host::refresh_view("fields");}return Ok(());}