void () { disableVirtualComma(); configureJava("class C { void m() { Character.for<caret> } }"); complete("forDigit"); waitForAllAsyncStuff(); type("1"); right(); type("2"); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { Character.forDigit(<Hint text=\"digit:\"/>1,<HINT text=\"radix:\"/>2<caret> ) } }"); myFixture.performEditorAction(IdeActions.ACTION_EDITOR_MOVE_LINE_END); waitForAllAsyncStuff(); checkResultWithInlays("class C { void m() { Character.forDigit(<hint text=\"digit:\"/>1,<hint text=\"radix:\"/>2 ) } }<caret>"); }