Skip to content
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 in Cursor IDE: Request workspace/symbol failed. Message: Method not found: symbol #701

Closed
PLyczkowski opened this issue Aug 24, 2024 · 8 comments
Labels
bug language server Issue is not originating from this extension, but from the LSP instead

Comments

@PLyczkowski
Copy link

Godot version

4.3 stable

VS Code version

Cursor

Godot Tools VS Code extension version

2.1.0

System information

Windows 10

Issue description

Cursor IDE, which is a fork of VSCode, throws this error when trying to do anything: Request workspace/symbol failed.
Message: Method not found: symbol
Code: -32601
Hard to tell if it's a Cursor bug or the extension.

Steps to reproduce

Try Cursor with the extension, try to do anything.

@PLyczkowski
Copy link
Author

No longer happens after updating Cursor

@PLyczkowski
Copy link
Author

Oops, disregard that, I tested wrong. The chat window works, the instructions window does not:
image

@PLyczkowski PLyczkowski reopened this Aug 30, 2024
@DaelonSuzuka DaelonSuzuka added the language server Issue is not originating from this extension, but from the LSP instead label Sep 8, 2024
@DaelonSuzuka
Copy link
Collaborator

This is either a problem with Cursor requesting a non-standard method, or the Godot Language Server not correctly implementing a required method. This extension has no control over either of those. You could open an issue at https://github.com/godotengine/godot.

@xndyz
Copy link

xndyz commented Sep 23, 2024

Same issue here with Cursor, it's very annoying as it pops up all the time. Is there at least a way to hide it from showing?
CleanShot 2024-09-23 at 00 51 08@2x

@DaelonSuzuka
Copy link
Collaborator

Can somebody try installing this development build and seeing if that fixes the problem?

Cursor is using the workspace/symbol request to get info about symbols in the file and (I assume) feeding that info to its LLM. I can't actually implement the workspace/symbol method in the Godot engine, but hopefully this build stops the annoying error.

@dannypostma
Copy link

This solved the issue for me @DaelonSuzuka, ty!

@PLyczkowski
Copy link
Author

Can somebody try installing this development build and seeing if that fixes the problem?

Cursor is using the workspace/symbol request to get info about symbols in the file and (I assume) feeding that info to its LLM. I can't actually implement the workspace/symbol method in the Godot engine, but hopefully this build stops the annoying error.

Can confirm this solves the problem 👍

@DaelonSuzuka
Copy link
Collaborator

The fix for this issue was just published in 2.3.0! Thanks for testing the build for me @dannypostma and @PLyczkowski!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug language server Issue is not originating from this extension, but from the LSP instead
Projects
None yet
Development

No branches or pull requests

4 participants