Hitting enter doesn't send text to LangeConsoleImpl
I'm implementing a Run Configuration for `iex`, the repl for Elixir, and I can get the process to launch, but I most be missing something in the other implementations: I can type at the prompt, but hitting Enter doesn't send the input to the iex process; it just gives me a new line for the same prompt. I was basing my design off of intellij-erlang's and so I have a
<actions>
<action id="IEx.Execute" class="org.elixir_lang.console.Execute">
<keyboard-shortcut first-keystroke="ENTER" keymap="$default"/>
</action>
</actions>
to mimic intellij-erlang's
<actions>
<action id="ErlangConsole.Execute" class="org.intellij.erlang.console.ErlangConsoleExecuteAction">
<keyboard-shortcut first-keystroke="ENTER" keymap="$default"/>
</action>
</actions>
But, I don't understand how that action is associated with console view in intellij-erlang or my own implementation. Is the naming scheme important? I feel I must be missing something that makes ENTER work in the console view or connects the action to the view.
请先登录再写评论。