Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Support for the Console.ReadLine() command
#1
Getting console input is quite frequent in testing. It would be great if it could be supported.
My suggestion is as shown in the diagram below:
   
1. The input box will automatically appear above the output panel when needed.
2. Pressing shift+Enter will automatically increase the height of the input box, turning it into a multiline text input box.
3. Pressing Enter confirms the input.

A demonstration of this feature in LINQPad is shown below.
   

Additionally, I suggest adding two pre-defined code snippets(To make it easier for more people).
cr => Console.ReadLine("");
cw => Console.WriteLine("");
#2
Many beginners in programming start by learning how to create console programs. It is essential to implement the functionality mentioned above. Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)