Encountering usability issues with the REPL

Have just checked and the readline() seems to be the issue, i.e., the REPL starts just fine and then waits for your input (as you did not print a prompt this is hard to see and as your code is not done at that point the IDE shows evaluating).
Now, for some reason the input needs to be repeated twice … don’t know why, but could be a bug in the REPL confusing inputs.

In any case, I would also suggest a different workflow:

  1. Start a REPL using Julia: Start REPL from the command menu
  2. Select and send code to the REPL via Shift+Enter

Seems the confusing behaviour of readline() also occurs in this case though … typing the code into the REPL directly works as expected.

1 Like