I am using Eclipse to code in Java and I was wondering if it has an interactive console where if I type a line of code and hit enter, it will immediately get executed. I tried going to Window -> Show View -> Debug -> Display but what ever I type, it doesn't even get executed. :s
-
-
I'm not sure if I'm following, are you talking about something like IntelliSense (Visual Studio), or are you wanting to see the results of the code that you wrote? If it's the first, then Eclipse should do that by default. If it's the second thing, then you need to debug the program. However, you need a working project to be able to debug (i.e. you have some initializing class with main).