11
vim 开发springboot java项目
source link: https://www.80shihua.com/archives/2792
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
vim 开发springboot java项目
随着lsp的出现,现在的vim的自动提示和跳转已经可以和IDE相媲美了。现在介绍下如何使用vim开发springboot项目。
- lsp插件
- jdtls(java lsp)
- maven
- openjdk
初始化项目
下载项目基础包
curl https://start.spring.io/starter.zip -d javaVersion=11 -o demo.zip
unzip demo.zip -d demo
cd demo
mvn compile
使用vim打开项目文件夹,就可以正常开发java springboot项目了。
注意事项
如果不能提示org.springframework.web 不能导入的话,修改pom.xml文件
spring-boot-starter替换为spring-boot-starter-web
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
发表评论 取消回复
您的电子邮箱地址不会被公开。 必填项已用*标注
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK