Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork14
JavaHello/spring-boot.nvim
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
参考VScode Spring Boot 插件, 将它的部分功能集成到Neovim 中。
- 查找使用了
Spring注解的Bean。 - 查找 Web Endpoints。
application.properties,application.yml文件补全提示, 以及跳转。Spring注解依赖提示补全。Code Action。
lazy.nvim-- 使用 `autocmd` 方式启动(默认)-- 默认使用 mason 或 ~/.vscode/extensions/vmware.vscode-spring-boot-x.xx.x 中的 jar{"JavaHello/spring-boot.nvim",ft= {"java","yaml","jproperties"},dependencies= {"mfussenegger/nvim-jdtls",-- or nvim-java, nvim-lspconfig"ibhagwan/fzf-lua",-- 可选,用于符号选择等UI功能。也可以使用其他选择器(例如 telescope.nvim)。 },---@typebootls.Configopts= {}},
- Visual Studio Code 中安装VScode Spring Boot(可选的)
详细配置参考nvim-jdtls项目
localjdtls_config= {bundles= {}}-- 添加 spring-boot jdtls 扩展 jar 包vim.list_extend(jdtls_config.bundles,require("spring_boot").java_extensions())
-- 添加全局命令处理器require('spring_boot').init_lsp_commands()-- 添加 spring-boot jdtls 扩展 jar 包require("lspconfig").jdtls.setup {init_options= {bundles=require("spring_boot").java_extensions(), },}
About
Neovim + Spring Boot LS
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
