Skip to content

Add setting to override project directory location #887

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikitalita
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant