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

class_name claims custom class hides global script class #650

Open
lonegamedev opened this issue Apr 19, 2024 · 2 comments
Open

class_name claims custom class hides global script class #650

lonegamedev opened this issue Apr 19, 2024 · 2 comments
Labels
bug language server Issue is not originating from this extension, but from the LSP instead

Comments

@lonegamedev
Copy link

Godot version

v4.2.1.stable.arch_linux

VS Code version

1.88.1

Godot Tools VS Code extension version

2.0.0

System information

ArchLinux

Issue description

This gets reported as hiding global class.

class_name GodotSucks

Steps to reproduce

Create script class,
assign class_name.

@DaelonSuzuka
Copy link
Collaborator

Yes, this is a known issue, it's been around forever. It's not caused by or influenced by this extension. It's a bug in the Language Server, which is part of the Godot Editor.

@DaelonSuzuka DaelonSuzuka added the language server Issue is not originating from this extension, but from the LSP instead label Apr 19, 2024
@lonegamedev
Copy link
Author

lonegamedev commented Apr 19, 2024

Seems like problem is related to:
#649 (comment)

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

2 participants