Skip to content

duplicate results if name do not match with command on config #1597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
albfan opened this issue Apr 2, 2025 · 1 comment
Open

duplicate results if name do not match with command on config #1597

albfan opened this issue Apr 2, 2025 · 1 comment

Comments

@albfan
Copy link
Contributor

albfan commented Apr 2, 2025

See golang/tools#569

if name is go-lang and command is gopls go to definition shows:

mié 02 abr 2025 14:05:33:["<---",1,"gopls",{"response":{"id":8,"jsonrpc":"2.0","result":[{"uri":"file:///home/alberto/projects/cloud/eventmanager/pkg/manager/manager.go","range":{"end":{"character":15,"line":24},"start":{"character":5,"line":24}}}]},"request":{"id":8,"jsonrpc":"2.0","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///home/alberto/projects/cloud/eventmanager/cmd/cmd/start.go"},"position":{"character":12,"line":38}}}}]
mié 02 abr 2025 14:05:33:["<---",2,"go-lang",{"response":{"id":5,"jsonrpc":"2.0","result":[{"uri":"file:///home/alberto/projects/cloud/eventmanager/pkg/manager/manager.go","range":{"end":{"character":15,"line":24},"start":{"character":5,"line":24}}}]},"request":{"id":5,"jsonrpc":"2.0","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///home/alberto/projects/cloud/eventmanager/cmd/cmd/start.go"},"position":{"character":12,"line":38}}}}]

this is received searching for LspDefinition if manager.Initialize on eventmanager/cmd/cmd/start.go +39

https://github.com/devtools-qe-incubator/eventmanager/blob/main/cmd/cmd/start.go#L39

@albfan
Copy link
Contributor Author

albfan commented Apr 2, 2025

if this comes from gopls I can open an issue there, just not sure what difference name makes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant