Skip to content

Add setting to override project directory location#887

Open
nikitalita wants to merge 1 commit into
godotengine:masterfrom
nikitalita:override-project-dir
Open

Add setting to override project directory location#887
nikitalita wants to merge 1 commit into
godotengine:masterfrom
nikitalita:override-project-dir

Conversation

@nikitalita

Copy link
Copy Markdown

The plugin currently provides no means of overriding the project directory location; it currently uses the first directory that contains project.godot that it finds. This means that if you're in a workspace with multiple project.godots in various subdirectories, your only recourse is to either re-open the workspace scoped to that folder, or just delete those files.

This PR provides the setting godotTools.workspace.overrideProjectDir. Now when we search for the project dir, we check the setting with the scope of the current workspace directory (and every subsequent workspace directory if not found), and if we find project.godot using that, we use that.

@nikitalita nikitalita force-pushed the override-project-dir branch from 6868cf3 to 68d7e32 Compare October 29, 2025 22:46
@nikitalita

Copy link
Copy Markdown
Author

@Calinou

@Calinou

Calinou commented Mar 21, 2026

Copy link
Copy Markdown
Member

@DaelonSuzuka @HolonProduction Any opinions on this? This seems good to me on the surface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants