erlang / erlide_eclipse

Eclipse IDE for Erlang
http://erlide.org
202 stars 70 forks source link

Use io:fread #329

Open glaucotodesco opened 5 years ago

glaucotodesco commented 5 years ago

Hello, I'm trying to use fread on eclipse, but it does not having the expected behavior.

My code is:

hello_world2() -> io:fread('enter->\n', "~f~f").

Outside de Eclipse works, (shell erl) I type two float numbers and press enter, and the input finished.

But on Eclipse console don’t work.

What is wrong?

Thanks!

vladdu commented 5 years ago

The console in Eclipse is not a real console. We're simulating it, so that we can do syntax highlighting and code completion there. I don't know if it is possible to have both that and be able to use input via io functions.