We are developing a custom language plugin for IntelliJ with autocomplete support.
For InsertionContext in handleInsert(), the completion character is set to "\n" and addCompletionChar is set to false. While using the plugin, when the user presses TAB on an autocomplete option, a line is getting deleted. When user presses ENTER, that's not the case. What could be causing this issue?