godotengine / godotengine/godot-vscode-plugin

Multi-root Workplace in VSCode, Class hides a global class script

Open
#769 10 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### Godot version

4.4-dev7

### VS Code version

1.96.2

### Godot Tools VS Code extension version

master

### System information

Windows 10

### Issue description

I know this is a classic, and most likely related to the LSP.

I'm having `Class hides a global class script` while using Multi workplaces opened.

![Image](https://github.com/user-attachments/assets/cb7c95ef-d0bd-457c-8dea-ffcfe3f97b1f)

Each folder on the left represents a different Godot Project.

All projects are part of the same game. I'm making a multiplayer game and managing multiple projects it's a must.

There's only one VSCode instance opened.
There's only one Godot instance opened, related to the `Servidor do Jogo` folder.

Some configurations:
![Image](https://github.com/user-attachments/assets/5140149a-1492-4cf8-ad8a-c6d88091bd96)
![Image](https://github.com/user-attachments/assets/2d3cc910-6691-460a-9bf7-068f4200c0f0)
![Image](https://github.com/user-attachments/assets/d67c42a4-7c7e-433d-bc30-27b051d281d5)

Do you have any tips on how to make this work?
I know that probably there's not much it can be done related to this Extension, but I'd appreciate some tips or directions about how to solve this.
Thank you

### Steps to reproduce

Open VSCode.
Open Godot.

or

Open Godot
Open VSCode.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.