void () { disableVirtualComma(); configureJava("class C { void m() { String.f<caret> } }"); complete("format(String format, Object... args)"); checkResultWithInlays("class C { void m() { String.format(<HINT text=\"format:\"/><caret><Hint text=\",args:\"/>) } }"); type("\"a"); next(); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { String.format(<Hint text=\"format:\"/>\"a\", <HINT text=\"args:\"/><caret>) } }"); next(); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { String.format(<hint text=\"format:\"/>\"a\"<hint text=\",args:\"/>)<caret> } }"); prev(); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { String.format(<Hint text=\"format:\"/>\"a\", <HINT text=\"args:\"/><caret>) } }"); prev(); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { String.format(<HINT text=\"format:\"/>\"a\"<caret><Hint text=\",args:\"/>) } }"); }