void () { CodeInsightSettings.getInstance().setSelectAutopopupSuggestionsByChars(true); CodeInsightSettings.getInstance().AUTOCOMPLETE_ON_CODE_COMPLETION = false; myFixture.configureByText("Test.java", """ public class Test { public static void main(final String[] args) { String str<caret> } }"""); myFixture.completeBasic(); myFixture.type('='); myFixture.checkResult(""" public class Test { public static void main(final String[] args) { String string = <caret> } }"""); }