-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
[Error] Request workspace/symbol failed. Message: Method not found: symbol Code: -32601 #697
Comments
Still a bug, but tabnine proving not to be useful here |
@Calinou, I'm getting this on a vanilla install of VSCode. It looks like Is |
Yes, it queries the list of symbols from the current file (which is returned by the LSP). |
Why are you doing that? What is the |
@DaelonSuzuka I was trying to see what the LSP server was returning when VSCode Godot-Tools was querying it. |
@bs I can't find any evidence that an
There's currently a bug in the Language Server where it won't return document symbols if there is an @MilesWilde As far as I can tell, this is a problem with the Language Server, which is a component of the Godot Editor. You should open an issue at https://github.com/godotengine/godot. |
@DaelonSuzuka Hmm, I can't seem to find where I got that, either. 😅 Is there a way to output the language server requests Godot sees and any errors thrown? I can confirm that what I'm seeing is because of the order of |
Not unless you want to clone the repo, set up the dev environment, and launch the extension in debug mode. The LSP is so chatty that enabling logging in release builds was causing performance problems, so I had to make it a development-only feature.
I don't know if there is one, I merely observed the behavior while investigating some tickets on here. PS: impressive username, btw |
Could this issue also crop up when trying to rename symbols in a file? I noticed that renaming has stopped working for me after updating to the latest version of the extension. Edit: For context, my setup is godot-tools extension v2.1.0, running vscode 1.93.0 on windows 11 and Godot 4.3, with the language server running in the background. Not using tabnine, but I do have the unofficial Godot Files extension v0.0.10 installed. |
Just tried uninstalling this and reloading to make sure it wasn't the cause, and it wasn't.
I should also clarify, I didn't notice the language server outputting |
Wow, that's impressive!
When I saw symbols being returned in Sublime and Zed, for example, I figured it was LSP results, but it looks like they're doing local indexing. I'll open a ticket.
Thanks for the help here, and for the cert heads-up! 😂 |
Thank you, @DaelonSuzuka! When I get a chance, I'll poke at the |
Godot version
Godot_v4.3-stable_win64
VS Code version
1.92.2
Godot Tools VS Code extension version
2.1.0
System information
Windows 10
Issue description
When I am using Tabnine AI and I talk to it, the error pops up about 15-20 times inside of the GDScriptLanguageClient Output
[Error - 4:09:50 PM] Request workspace/symbol failed.
Message: Method not found: symbol
Code: -32601
It force opens the output and spams errors which can be distracting. It would be nice if I could disable specific errors from showing
Steps to reproduce
Open Godot
Open VSC
Create a blank .gd file
Connect to language server through VSC
Install Tabnine AI, talk to it
Output should pop up with the indicated error
The text was updated successfully, but these errors were encountered: