godot-vscode-plugin icon indicating copy to clipboard operation
godot-vscode-plugin copied to clipboard

Error in Cursor IDE: Request workspace/symbol failed. Message: Method not found: symbol

Open PLyczkowski opened this issue 1 year ago • 3 comments

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 avatar Aug 24 '24 23:08 PLyczkowski

No longer happens after updating Cursor

PLyczkowski avatar Aug 30 '24 07:08 PLyczkowski

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

PLyczkowski avatar Aug 30 '24 11:08 PLyczkowski

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.

DaelonSuzuka avatar Sep 08 '24 04:09 DaelonSuzuka

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

xndyz avatar Sep 23 '24 04:09 xndyz

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.

DaelonSuzuka avatar Sep 23 '24 21:09 DaelonSuzuka

This solved the issue for me @DaelonSuzuka, ty!

dannypostma avatar Oct 06 '24 06:10 dannypostma

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 👍

PLyczkowski avatar Oct 06 '24 12:10 PLyczkowski

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

DaelonSuzuka avatar Oct 07 '24 16:10 DaelonSuzuka