It appears that you're running a selected code snippet. If you want to do that with the Code Runner extension, you'll need to adjust the code-runner.temporaryFileName setting to the name of your main class.
It appears that you're running a selected code snippet. If you want to do that with the Code Runner extension, you'll need to adjust the code-runner.temporaryFileName setting to the name of your main class.