When launching a main method from a standalone java class, the debugger asks me to select the 1 main class available, it should be smarter and go ahead directly
Environment
- Operating System: macOS High Sierra
- JDK version: 1.8
- Visual Studio Code version: 1.19.0-insiders
- Java extension version: 0.15.0
- Java Debugger extension version: 0.4.0
Steps To Reproduce
- Open a standalone java file with a main method
public class Standalone {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
- Press F5 to launch a Java environment
Current Result
Only the current main class is listed, user needs to select it to proceed

Expected Result
Class selection should not be necessary, since there's no choice.
It's even more frustrating when you repeat running the class: you need to select Java, then the class name, every time.
When launching a main method from a standalone java class, the debugger asks me to select the 1 main class available, it should be smarter and go ahead directly
Environment
Steps To Reproduce
Current Result
Only the current main class is listed, user needs to select it to proceed

Expected Result
Class selection should not be necessary, since there's no choice.
It's even more frustrating when you repeat running the class: you need to select Java, then the class name, every time.