René's URL Explorer Experiment


Title: bug: document_symbol only respecting spring-boot client · Issue #447 · nvim-java/nvim-java · GitHub

Open Graph Title: bug: document_symbol only respecting spring-boot client · Issue #447 · nvim-java/nvim-java

X Title: bug: document_symbol only respecting spring-boot client · Issue #447 · nvim-java/nvim-java

Description: Did you check docs and existing issues? I have read all the plugin docs I have searched the existing issues I have searched the existing issues of plugins related to this issue Neovim version (nvim -v) 0.11.5 Operating system/version Win...

Open Graph Description: Did you check docs and existing issues? I have read all the plugin docs I have searched the existing issues I have searched the existing issues of plugins related to this issue Neovim version (nvim...

X Description: Did you check docs and existing issues? I have read all the plugin docs I have searched the existing issues I have searched the existing issues of plugins related to this issue Neovim version (nvim...

Opengraph URL: https://github.com/nvim-java/nvim-java/issues/447

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: document_symbol only respecting spring-boot client","articleBody":"### Did you check docs and existing issues?\n\n- [x] I have read all the plugin docs\n- [x] I have searched the existing issues\n- [x] I have searched the existing issues of plugins related to this issue\n\n### Neovim version (nvim -v)\n\n0.11.5\n\n### Operating system/version\n\nWin11/WSL Ubuntu 24.04\n\n### Describe the bug\n\nUsing current version of this plugin, it looks like document_symbol (via telescope, fzflua or just :lua vim.lsp.buf.document_symbol()) just returns values for the spring-boot client. For a minimal setup I've used the devcontainer init.lua available in this repo.\n\nAll symbols returned are just spring-boot annotations\n\nLazy (should be nvim-java 4.0.1?)\n\n ● nvim-java 21.46ms  start\n        dir    /home/soenke/.local/share/nvim/lazy/nvim-java\n        url    https://github.com/nvim-java/nvim-java\n        branch main\n        commit 389ef7c\n        readme README.md\n        help   |nvim-java.txt|\n\n- jdk 21\n- jdtls 1.54.0\n\nWhen setting lsp loglevel to debug, this is the whole output i'm getting:\n\n```\n[DEBUG][2025-12-08 23:25:36] ...m/lsp/client.lua:674    \"LSP[spring-boot]\"      \"client.request\"        1       \"textDocument/documentSymbol\"   { textDocument = { uri = \"\u003c\u003e.java\" } } \u003cfunction 1\u003e    1\n[DEBUG][2025-12-08 23:25:36] .../vim/lsp/rpc.lua:277    \"rpc.send\"      { id = 15, jsonrpc = \"2.0\", method = \"textDocument/documentSymbol\", params = { textDocument = { uri = \"\u003c\u003e.java\" } } }\n[DEBUG][2025-12-08 23:25:36] .../vim/lsp/rpc.lua:391    \"rpc.receive\"   { id = 15, jsonrpc = \"2.0\", result = { { kind = 11, location = { range = { [\"end\"] = { character = 15, line = 21 }, start = { character = 0, line = 21 } }, uri = \"\u003c\u003e.java\" }, name = \"@+ '\u003c\u003e' (@RestController \u003c: @Controller, @Component) \u003c\u003eController\" }, { kind = 11, location = { range = { [\"end\"] = { character = 98, line = 37 }, start = { character = 1, line = 36 } }, uri = \"\u003c\u003e.java\" }, name = \"@/** -- POST - Accept: application/\u003c\u003e - Content-Type: application/\u003c\u003e\" }, { kind = 11, location = { range = { [\"end\"] = { character = 42, line = 38 }, start = { character = 30, line = 38 } }, uri = \"\u003c\u003e.java\" }, name = \"@RequestBody\" }, { kind = 11, location = { range = { [\"end\"] = { character = 87, line = 59 }, start = { character = 1, line = 59 } }, uri = \"\u003c\u003e.java\" }, name = \"@/**/{request:.+} -- GET - Content-Type: application/\u003c\u003e\" }, { kind = 11, location = { range = { [\"end\"] = { character = 53, line = 60 }, start = { character = 29, line = 60 } }, uri = \"\u003c\u003er.java\" }, name = '@PathVariable(\"request\")' } } }\n```\n\n\n### Steps To Reproduce\n\n1. use devcontainer config, or add nvim-java as plugin to kickstart nvim\n2. open spring boot object (e.g. petclinic)\n3. open a controller\n4. run `:lua vim.lsp.buf.document_symbol()` (or telescope/fzflua equivalent)\n\n### Expected Behavior\n\nI'd expect seeing symbols returned by jdtls as well, instead of only spring boot annotations.\nI looked for similar issues, and one of them suggested adding more documentSymbol types to jdtls. however, when using jdtls on it's own it returned the expected symbols just fine\n\n\nI am not that familiar with nvim plugins, but if anyone has an idea where the problem lies or what needs to be done, I'd gladly try to work on a PR myself","author":{"url":"https://github.com/soenkekrusche","@type":"Person","name":"soenkekrusche"},"datePublished":"2025-12-08T22:34:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/447/nvim-java/issues/447"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:24e92635-0076-be8a-e59a-ffffb69ae65a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC5C4:164B81:1CE9559:2555513:69927CE0
html-safe-nonce6b884c8cf29e35d88d4819ccdbc66c0d6d2391c63d9875ba73a7bf137a62cd13
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUM0OjE2NEI4MToxQ0U5NTU5OjI1NTU1MTM6Njk5MjdDRTAiLCJ2aXNpdG9yX2lkIjoiNzgzNzg5MTg1NDY3MDY1ODc4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1ca60c1a3789d7495b92ff6eb0472635e3a27ef4e1eb275d93584f2fbec058b3
hovercard-subject-tagissue:3708271994
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nvim-java/nvim-java/447/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b2aaf46268e6fc21b3e1caff2c3e055e6c24552e2504bd1c681437101316d3d0/nvim-java/nvim-java/issues/447
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b2aaf46268e6fc21b3e1caff2c3e055e6c24552e2504bd1c681437101316d3d0/nvim-java/nvim-java/issues/447
og:image:altDid you check docs and existing issues? I have read all the plugin docs I have searched the existing issues I have searched the existing issues of plugins related to this issue Neovim version (nvim...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesoenkekrusche
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/nvim-java/nvim-java git https://github.com/nvim-java/nvim-java.git
octolytics-dimension-user_id150328080
octolytics-dimension-user_loginnvim-java
octolytics-dimension-repository_id717003987
octolytics-dimension-repository_nwonvim-java/nvim-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id717003987
octolytics-dimension-repository_network_root_nwonvim-java/nvim-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nvim-java/nvim-java/issues/447#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnvim-java%2Fnvim-java%2Fissues%2F447
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnvim-java%2Fnvim-java%2Fissues%2F447
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nvim-java%2Fnvim-java
Reloadhttps://github.com/nvim-java/nvim-java/issues/447
Reloadhttps://github.com/nvim-java/nvim-java/issues/447
Reloadhttps://github.com/nvim-java/nvim-java/issues/447
nvim-java https://github.com/nvim-java
nvim-javahttps://github.com/nvim-java/nvim-java
Please reload this pagehttps://github.com/nvim-java/nvim-java/issues/447
Notifications https://github.com/login?return_to=%2Fnvim-java%2Fnvim-java
Fork 83 https://github.com/login?return_to=%2Fnvim-java%2Fnvim-java
Star 1.6k https://github.com/login?return_to=%2Fnvim-java%2Fnvim-java
Code https://github.com/nvim-java/nvim-java
Issues 31 https://github.com/nvim-java/nvim-java/issues
Pull requests 1 https://github.com/nvim-java/nvim-java/pulls
Discussions https://github.com/nvim-java/nvim-java/discussions
Actions https://github.com/nvim-java/nvim-java/actions
Projects 1 https://github.com/nvim-java/nvim-java/projects
Wiki https://github.com/nvim-java/nvim-java/wiki
Security 0 https://github.com/nvim-java/nvim-java/security
Insights https://github.com/nvim-java/nvim-java/pulse
Code https://github.com/nvim-java/nvim-java
Issues https://github.com/nvim-java/nvim-java/issues
Pull requests https://github.com/nvim-java/nvim-java/pulls
Discussions https://github.com/nvim-java/nvim-java/discussions
Actions https://github.com/nvim-java/nvim-java/actions
Projects https://github.com/nvim-java/nvim-java/projects
Wiki https://github.com/nvim-java/nvim-java/wiki
Security https://github.com/nvim-java/nvim-java/security
Insights https://github.com/nvim-java/nvim-java/pulse
New issuehttps://github.com/login?return_to=https://github.com/nvim-java/nvim-java/issues/447
New issuehttps://github.com/login?return_to=https://github.com/nvim-java/nvim-java/issues/447
#449https://github.com/nvim-java/nvim-java/pull/449
bug: document_symbol only respecting spring-boot clienthttps://github.com/nvim-java/nvim-java/issues/447#top
#449https://github.com/nvim-java/nvim-java/pull/449
bugSomething isn't workinghttps://github.com/nvim-java/nvim-java/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/soenkekrusche
https://github.com/soenkekrusche
soenkekruschehttps://github.com/soenkekrusche
on Dec 8, 2025https://github.com/nvim-java/nvim-java/issues/447#issue-3708271994
https://github.com/nvim-java/nvim-javahttps://github.com/nvim-java/nvim-java
389ef7chttps://github.com/nvim-java/nvim-java/commit/389ef7c938f89730f112054132d6a08c180733af
bugSomething isn't workinghttps://github.com/nvim-java/nvim-java/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.