简体   繁体   中英

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. 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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM