void () { disableVirtualComma(); RegistryValue setting = Registry.get("editor.keep.completion.hints.longer"); boolean oldValue = setting.asBoolean(); try { setting.setValue(true); configureJava(""" class C { void m() { System.setPro<caret> } }"""); complete("setProperty"); checkResultWithInlays(""" class C { void m() { System.setProperty(<HINT text="key:"/><caret>, <Hint text="value:"/>) } }"""); type("\"a"); next(); type("\"b"); home(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C { <caret>void m() { System.setProperty(<hint text="key:"/>"a", <hint text="value:"/>"b") } }"""); textStart(); waitForAllAsyncStuff(); checkResultWithInlays(""" <caret>class C { void m() { System.setProperty("a", "b") } }"""); } finally { setting.setValue(oldValue); } }