VScode run java minimalist version (do not configure maven)

Has recently been a useful vscode write java idea, because sometimes do not want to open a LeetCode IDEA to write, but looked at a lot of tutorials say maven configuration and Spring. . . . , Then staged a minimalist running java-
search bar to search the plugin download
Here Insert Picture Description
and open the file with the extension .java, main function will automatically appear
Here Insert Picture Description
click on the Run on it, remember not to point the top right of the Play button or use Ctrl + Alt + N, because that is executing the command code runner plugin. . It is likely to fail (and I'm not appeared several times to load the main class error). The results are shown
Here Insert Picture Description
can easily write a few lines of code

Released eight original articles · won praise 33 · views 3656

Guess you like

Origin blog.csdn.net/weixin_43518179/article/details/104779828