Skip to content

LSP completion for @rpc annotation triggers error Cannot get class '@GDScript' #75423

Closed
@rcorre

Description

@rcorre

Godot version

4.0.1

System information

Linux

Issue description

When using an external editor with the Godot LSP, typing @rpc( and requesting completion causes the error Cannot get class '@GDScript' to be printed from the editor.

Steps to reproduce

  1. Open a .gd file in an external editor
  2. Type @rpc(
  3. See error

This happens for each "term" in the rpc, i.e. if I type "authority" I get it once, then type a comma and a ", I get it again.

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions