void () { disableVirtualComma(); setParameterHintsLimit(2); configureJava(""" class C { int mmm(int a, int b, int c) { return 0; } void m2() { mm<caret> } }"""); complete(); checkResultWithInlays(""" class C { int mmm(int a, int b, int c) { return 0; } void m2() { mmm(<HINT text="a:"/><caret>, <Hint text="b:"/><Hint text="...more:"/>) } }"""); next(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C { int mmm(int a, int b, int c) { return 0; } void m2() { mmm(<Hint text="a:"/>, <HINT text="b:"/><caret><Hint text="...more:"/>) } }"""); next(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C { int mmm(int a, int b, int c) { return 0; } void m2() { mmm(<Hint text="a:"/>, <Hint text="b:"/>, <HINT text="c:"/><caret>) } }"""); next(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C { int mmm(int a, int b, int c) { return 0; } void m2() { mmm(<hint text="a:"/>, <hint text="b:"/>, <hint text="c:"/>)<caret> } }"""); prev(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C { int mmm(int a, int b, int c) { return 0; } void m2() { mmm(<Hint text="a:"/>, <Hint text="b:"/>, <HINT text="c:"/><caret>) } }"""); prev(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C { int mmm(int a, int b, int c) { return 0; } void m2() { mmm(<Hint text="a:"/>, <HINT text="b:"/><caret><Hint text="...more:"/>) } }"""); prev(); waitForAllAsyncStuff(); checkResultWithInlays(""" class C { int mmm(int a, int b, int c) { return 0; } void m2() { mmm(<HINT text="a:"/><caret>, <Hint text="b:"/><Hint text="...more:"/>) } }"""); }