-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
not found: "metals/findTextInDependencyJars" request handler for client "GitHub Copilot". #664
Comments
Just to confirm, if you don't have copilot enabled or installed you don't have this problem? Just testing the command locally for me works fine, so you'll have to try and minimally reproduce. I have no idea why having copilot would impact this at all. |
Correct, if I disable Copilot I don't run into any issue and I see the results in the Quickfix window. |
I will need to try and reproduce this. I think what is happening is that we're just grabbing the current client and sending the request to it. Normally in Scala here this would always just be Metals, but it seems that the client this is being sent to is copilot... and of course the custom metals endpoint doesn't exist there. |
That would be great, thanks! This is my Lazy config for Copilot : {
"github/copilot.vim"
}, Using the latest version: "copilot.vim": { "branch": "release", "commit": "1e135c5303bc60598f6314a2276f31dc91aa34dd" }, |
Finally got around to fixing this in #697. Give it a try and let me know if you still have issues with this. |
Describe the bug
When executing
:MetalsFindInDependencyJars
on the command-line with the GitHub Copilot plugin installed with the following input:I then run into the following error:
Why is GitHub Copilot affected by a command for Metals? Any idea what could be going on here?
Expected behavior
I would expect to see the results when searching for text in dependency jars.
Operating system
macOS
Version of Metals
v1.2.2
Commit of nvim-metals
4f9bf0c
The text was updated successfully, but these errors were encountered: