Hello,
I'm a Notepad++ user. One of the features I like from that software is the fact that you can have a "console" in the UI (which is not an actual terminal), and that you can run some command line interpreters from there.
FYI, to get the console running in Notepad++, you need to have the NppExec plugin installed, and then go to Menu > Plugins > NppExec > Execute...
and type in whatever executable file you want in there (exe, batch, etc) and press OK. The Console will be brought up, and you'll see the output of your program in there, and in the case of an interactive shell, you can also input commands.
For example
- for an actual DOS prompt, you run
cmd.exe
- for a Python prompt, you run
python.exe -i
.- From the Python help:
-i inspect interactively after running script; forces a prompt even if stdin does not appear to be a terminal; also PYTHONINSPECT=x
- From the Python help:
Now, I'm wondering if there's a way to get a similar prompt with irb. Anybody has an idea how to get that running in Notepad++?
Update
There's mention in the answer(s) I got that it already works in Notepad++ 5.4.5. In my view, it does not.
What I get from Notepad++:
What I expect: