[英]How can i type in the console of vscode just like in eclipse
After installing java extension pack, I start my migration trip on writing java code in vscode. 安装Java扩展包后,我开始在vscode中编写Java代码的迁移之旅。 But i have problem when i want to type in console to convert some values into the program such as use Scanner to get the value typed from console. 但是当我想输入控制台以将某些值转换为程序时,例如使用扫描仪从控制台获取键入的值时,我遇到了问题。 What should I do, or are there any alternative method to achieve this? 我该怎么办,或者有其他替代方法可以做到这一点?
So what you're trying to accomplish is provide user input from the terminal. 因此,您要完成的工作就是从终端提供用户输入。 What you're seeing is the debug console which is only available if you debug your application. 您将看到调试控制台,该控制台仅在调试应用程序时可用。 Since your app is running. 由于您的应用正在运行。 It's in read-only mode. 它处于只读模式。
I hope this helps. 我希望这有帮助。 Cheers! 干杯!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.