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("");


Messages In This Thread
Support for the Console.ReadLine() command - by Davider - 04-28-2024, 12:42 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)