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