Title: Does not get auto suggestions for application.properties and .yaml · Issue #25 · JavaHello/spring-boot.nvim · GitHub
Open Graph Title: Does not get auto suggestions for application.properties and .yaml · Issue #25 · JavaHello/spring-boot.nvim
X Title: Does not get auto suggestions for application.properties and .yaml · Issue #25 · JavaHello/spring-boot.nvim
Description: Issue: No auto-completion suggestions with blink.cmp and nvim-jdtls Description: I am using blink.cmp along with mfussenegger/nvim-jdtls (Distro nvchad). While diagnostics from the language server appear correctly, I am not receiving any...
Open Graph Description: Issue: No auto-completion suggestions with blink.cmp and nvim-jdtls Description: I am using blink.cmp along with mfussenegger/nvim-jdtls (Distro nvchad). While diagnostics from the language server ...
X Description: Issue: No auto-completion suggestions with blink.cmp and nvim-jdtls Description: I am using blink.cmp along with mfussenegger/nvim-jdtls (Distro nvchad). While diagnostics from the language server ...
Opengraph URL: https://github.com/JavaHello/spring-boot.nvim/issues/25
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does not get auto suggestions for application.properties and .yaml","articleBody":"\n### Issue: No auto-completion suggestions with `blink.cmp` and `nvim-jdtls`\n\n**Description:**\nI am using `blink.cmp` along with `mfussenegger/nvim-jdtls` (Distro `nvchad`). While diagnostics from the language server appear correctly, I am not receiving any auto-completion suggestions.\n\n---\n\n### `nvim/lua/plugins/java.lua`\n\n```lua\nreturn {\n \"mfussenegger/nvim-jdtls\",\n ft = { \"java\", \"properties\", \"yaml\", \"yml\" },\n config = function()\n local function get_pkg_path(pkg_name)\n return vim.fn.stdpath(\"data\") .. \"/mason/packages/\" .. pkg_name\n end\n\n local project_name = vim.fn.fnamemodify(vim.fn.getcwd(), \":p:h:t\")\n local workspace_dir = vim.fn.stdpath(\"data\") .. \"/site/java/workspace-root/\" .. project_name\n\n local bundles = {}\n\n -- Add Spring Boot extensions\n local spring_boot_extensions = require(\"spring_boot\").java_extensions()\n vim.list_extend(bundles, spring_boot_extensions)\n\n local config = {\n cmd = {\n \"java\",\n \"-Declipse.application=org.eclipse.jdt.ls.core.id1\",\n \"-Dosgi.bundles.defaultStartLevel=4\",\n \"-Declipse.product=org.eclipse.jdt.ls.core.product\",\n \"-Dlog.protocol=true\",\n \"-Dlog.level=ALL\",\n \"-javaagent:\" .. vim.fn.expand(\"$MASON/packages/lombok-nightly/lombok.jar\"),\n \"-Xms1g\",\n \"--add-modules=ALL-SYSTEM\",\n \"--add-opens\", \"java.base/java.util=ALL-UNNAMED\",\n \"--add-opens\", \"java.base/java.lang=ALL-UNNAMED\",\n \"-jar\", vim.fn.glob(\"$MASON/share/jdtls/plugins/org.eclipse.equinox.launcher_*.jar\"),\n \"-configuration\", vim.fn.expand(\"$MASON/share/jdtls/config\"),\n \"-data\", workspace_dir,\n },\n root_dir = vim.fs.root(0, { \".git\", \"mvnw\", \"gradlew\" }),\n settings = {\n java = {\n eclipse = { downloadSources = true },\n configuration = { updateBuildConfiguration = \"interactive\" },\n maven = { downloadSources = true },\n implementationsCodeLens = { enabled = true },\n referencesCodeLens = { enabled = true },\n inlayHints = { parameterNames = { enabled = \"all\" } },\n signatureHelp = { enabled = true },\n completion = {\n favoriteStaticMembers = {\n \"org.hamcrest.MatcherAssert.assertThat\",\n \"org.hamcrest.Matchers.*\",\n \"org.hamcrest.CoreMatchers.*\",\n \"org.junit.jupiter.api.Assertions.*\",\n \"java.util.Objects.requireNonNull\",\n \"java.util.Objects.requireNonNullElse\",\n \"org.mockito.Mockito.*\",\n },\n },\n sources = {\n organizeImports = {\n starThreshold = 9999,\n staticStarThreshold = 9999,\n },\n },\n },\n },\n init_options = {\n bundles = bundles,\n },\n handlers = {\n [\"$/progress\"] = function() end, -- disable progress updates\n },\n filetypes = { \"java\" },\n }\n\n vim.api.nvim_create_autocmd(\"FileType\", {\n pattern = { \"java\", \"properties\", \"yaml\", \"yml\" },\n callback = function()\n require(\"jdtls\").start_or_attach(config)\n end,\n })\n end,\n}\n```\n\n---\n\n### `nvim/lua/plugins/springBoot.lua`\n\n```lua\nreturn {\n \"JavaHello/spring-boot.nvim\",\n ft = { \"java\", \"yaml\", \"properties\" },\n specs = {\n {\n \"mfussenegger/nvim-jdtls\",\n optional = true,\n opts = function(_, opts)\n if not opts.init_options then\n opts.init_options = {}\n end\n if not opts.init_options.bundles then\n opts.init_options.bundles = {}\n end\n\n vim.list_extend(opts.init_options.bundles, require(\"spring_boot\").java_extensions())\n end,\n },\n },\n opts = {},\n}\n```\n\n---\n","author":{"url":"https://github.com/Kabil777","@type":"Person","name":"Kabil777"},"datePublished":"2025-06-04T17:27:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/25/spring-boot.nvim/issues/25"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:48128a16-e9ca-a3fa-1ec5-210170b41136 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC1A:15E3B:28CB730:37A5F20:6A53B95C |
| html-safe-nonce | 18a0d05aafc13e1ff99de8d45261f2f4694345885f02da98b0cd228d473cc5c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzFBOjE1RTNCOjI4Q0I3MzA6MzdBNUYyMDo2QTUzQjk1QyIsInZpc2l0b3JfaWQiOiI4MDkyNjM3Njg3MDUyNTI3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 11bbeffee05145c86a2d25edb3222b8033ce9e84fa334b373dc606afc0009ff9 |
| hovercard-subject-tag | issue:3118560736 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaHello/spring-boot.nvim/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/520ea52766ced30a06af2689781c05ba05fc711f9311b15b2d394fb05d8dd950/JavaHello/spring-boot.nvim/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/520ea52766ced30a06af2689781c05ba05fc711f9311b15b2d394fb05d8dd950/JavaHello/spring-boot.nvim/issues/25 |
| og:image:alt | Issue: No auto-completion suggestions with blink.cmp and nvim-jdtls Description: I am using blink.cmp along with mfussenegger/nvim-jdtls (Distro nvchad). While diagnostics from the language server ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kabil777 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaHello/spring-boot.nvim git https://github.com/JavaHello/spring-boot.nvim.git |
| octolytics-dimension-user_id | 24937965 |
| octolytics-dimension-user_login | JavaHello |
| octolytics-dimension-repository_id | 785555003 |
| octolytics-dimension-repository_nwo | JavaHello/spring-boot.nvim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 785555003 |
| octolytics-dimension-repository_network_root_nwo | JavaHello/spring-boot.nvim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width