How to run springboot project elegantly in vscode? The following article will introduce to you how to run the springboot project in vscode. I hope it will be helpful to friends in need!
I encountered various problems such as IDEA crashing, unable to start, cracking failure, etc. It was very frustrating and painful. I have not completely solved these problems yet. . .
However, it is no longer acceptable to go back and configure various variables of eclipse and Tomcat. Therefore, as a former front-end developer, I turned my attention to vscode.
Most tutorials on the Internet do not clearly explain what plug-ins I need to install and what configurations I need to modify if I want to run a java project or springboot project in VSC.
Then I suddenly discovered that the official website gave very thoughtful tips: https://spring.io/guides/gs/guides-with-vscode/
Then this article will show you how to run our springboot project elegantly with vscode. [Recommended learning: "vscode introductory tutorial"]
Without further ado, the official website will do it!
Then you can start to choose a theme you like in vscode’s market (no)
directly into the market You can also download it by clicking the link below:
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack
Same as IDEA, in addition to writing lombok in the pom.xml that the project depends on, you also need to install a plug-in! ! ! !
Of course, if you don’t need the features of lombok, you don’t need to install this
Search lombok directly in the market and it will come out
vscode is very lightweight, starts quickly, and almost never crashes. In fact, most functions can be completed after installing the plug-in, and the plug-in is also very rich,Themes are also rich
Secondly, the problem prompts on the operation platform are also very concise and clear. Basically, they can quickly and clearly show you where you went wrong
Third, for those who are already familiar with vscode, especially front-end development, it is full of intimacy and very smooth to use
Booties, feel the recommendation of vsc’s treasure plug-in library! ! ! !
If your IDEA is the community version, can vscode be made comparable to the ultimate version by itself? ! ! !
For more knowledge about VSCode, please visit: vscode tutorial! !
The above is the detailed content of Let's talk about how to run the springboot project gracefully in vscode. For more information, please follow other related articles on the PHP Chinese website!