languageId not found for cpp-ghost-text-preview-widget-anysphere://ldxcrblzju
languageId not found for cpp-ghost-text-preview-widget-anysphere://ldxcrblzju
languageId not found for cpp-ghost-text-preview-widget-anysphere://ldxcrblzju
languageId not found for cpp-ghost-text-preview-widget-anysphere://ldxcrblzju
languageId not found for cpp-ghost-text-preview-widget-anysphere://ldxcrblzju
languageId not found for cpp-ghost-text-preview-widget-anysphere://ldxcrblzju
languageId not found for cpp-ghost-text-preview-widget-anysphere://ldxcrblzju
languageId not found for cpp-ghost-text-preview-widget-anysphere://ldxcrblzju
[Error - 08:58:57] Request workspace/symbol failed.
Message: Request workspace/symbol failed with message: Cannot read properties of undefined (reading 'uri')
Code: -32603
If I click the problem I get: The editor could not be opened due to an unexpected error: Unable to resolve resource aichat-code-block-anysphere://yxoijhorgm
I got a similar error that the Ruby LSP breaks in Cursor with errors like cpp-ghost-text-preview-widget-anysphere://vymfzolhyh (RubyLsp::Store::NonExistingDocumentError)
Working on .astro-files, deleting composer items from the list helps to clean up the problems-panel. But it is what it is, a quick-fix.
A more durable solution would be very much appreciated.
These problems are the result of YAML validation running against Cursor’s panes using the YAML extension.
You can observe this by disabling and re-enabling YAML validation. In Visual Studio Code settings, change yaml.validate to false to make these errors disappear. Setting it back to true leads to them reappearing.
You can disable validation for specific files in your workspace using a workaround involving the yaml.schemas configuration, but this doesn’t appear to work for files outside your workspace.
The “fix” is to disable YAML validation, but this obviously isn’t ideal for anyone that works will YAML files regularly as I do.