Skip to content

Tweak the default project path to use a dedicated folder in Documents#47724

Open
Calinou wants to merge 1 commit into
godotengine:masterfrom
Calinou:project-manager-tweak-default-path
Open

Tweak the default project path to use a dedicated folder in Documents#47724
Calinou wants to merge 1 commit into
godotengine:masterfrom
Calinou:project-manager-tweak-default-path

Conversation

@Calinou
Copy link
Copy Markdown
Member

@Calinou Calinou commented Apr 8, 2021

  • Set the autoscan path to match the default project path. This way, projects can be manually extracted to it and detected on launch.
  • Disallow creating new projects at the root of the default project path to avoid clutter. Instead, projects must be created in subfolders.

One downside is that a $HOME/Documents/Godot folder will be created even if the user never creates any projects in it. However, I believe it encourages better organization (it's something I always do personally), so I'd say the tradeoff is worth it. This tradeoff is also shared by other software such as Premiere Pro, so we wouldn't be the only software to do this.

Preview

image

Bugsquad edit: Closes godotengine/godot-proposals#13914

@Calinou Calinou added cherrypick:3.x Considered for cherry-picking into a future 3.x release enhancement topic:editor usability labels Apr 8, 2021
@Calinou Calinou added this to the 4.0 milestone Apr 8, 2021
@YuriSizov
Copy link
Copy Markdown
Contributor

One downside is that a $HOME/Documents/Godot folder will be created even if the user never creates any projects in it. However, I believe it encourages better organization (it's something I always do personally), so I'd say the tradeoff is worth it.

Well, I have a dedicated and organized folder far away from Documents, so I just have to navigate out of this trap default setting every time I need to create a project. I wish we remembered the last path used instead.

@aaronfranke
Copy link
Copy Markdown
Member

Same thing as @pycbouh, I generally don't use Documents because other programs tend to pollute it with garbage. I store all of my projects in a custom folder I made called ~/workspace. So this change wouldn't benefit me (it's not really bad for me either as I can just ignore the folder, so don't take this comment as my disapproval of the feature, it's likely fine/good).

@Zireael07
Copy link
Copy Markdown
Contributor

Add me to the list of people who don't use Documents, but a custom folder...

@YuriSizov
Copy link
Copy Markdown
Contributor

YuriSizov commented Apr 9, 2021

Just to clarify: just like Aaron I am not against this change, but if it's usability and better organization that we seek, this may not be the solution. This does sound like a sensible default value for people who don't organize their workspace to their own preference though.

@ghost
Copy link
Copy Markdown

ghost commented Apr 11, 2021

This has always been one of the first things I set on a fresh installation, and always wondered why it wasn't always like this already. I support this change.

@aanishacharyaa
Copy link
Copy Markdown

aanishacharyaa commented Jul 10, 2021

"One downside is that a $HOME/Documents/Godot folder will be created even if the user never creates any projects in it"

I don't understand the downside and why is that have to be

Solution 1:

Instead when the user creates a new project in any chosen folder... Remember and make it default for any new projects.

Solution 2 : on 1st time running Godot... Ask for projects default path

Solution 3 : when choosing directory for project ... Give selection option of recent project directories like drop down mean ( if created any )

Some enhancements : add ability to have multiple project directories in autoscan path manually or add automatically all created project directories and organize them accordingly

@Calinou
Copy link
Copy Markdown
Member Author

Calinou commented Jul 10, 2021

Some enhancements : add ability to have multiple project directories in autoscan path manually or add automatically all created project directories and organize them accordingly

This should be requested in a separate proposal.

@ghost
Copy link
Copy Markdown

ghost commented Oct 24, 2024

Currently Godot have option to change default path in the settings so is it not problem anymore but feature of forbidding creating project at the root of the default path is very awaited by me

@Calinou Calinou force-pushed the project-manager-tweak-default-path branch from 61b908b to 16407df Compare October 28, 2024 17:23
@Calinou Calinou requested a review from a team as a code owner October 28, 2024 17:23
@Calinou
Copy link
Copy Markdown
Member Author

Calinou commented Oct 28, 2024

Rebased and tested again, it works as expected.

@KoBeWi
Copy link
Copy Markdown
Member

KoBeWi commented Nov 26, 2024

I'm not sure about adding autoscan path by default 🤔
In worst case it can result in error spam when the folder fails to be created.

Personally I don't keep my projects in single directory and I don't even create them from project manager, so I'll just set this to empty. While creating folder makes sense for new users, existing users already have their projects organized, so they likely won't find the new folder useful or welcome.

@Calinou
Copy link
Copy Markdown
Member Author

Calinou commented Nov 27, 2024

In worst case it can result in error spam when the folder fails to be created.

We should probably add a proper fallback to skip folder creation if it fails once, so that it no longer spams errors.

@KoBeWi
Copy link
Copy Markdown
Member

KoBeWi commented Dec 24, 2024

Well another thing is that if you change the project path, the autoscan path needs to be updated manually. This will be a problem with #99790, though I could just make it update both paths if they are equal.

EDIT:
tbh #99790 with autoscan update would make this PR redundant.

- Disallow creating new projects at the root of the default project path
  to avoid clutter. Instead, projects must be created in subfolders.
@Calinou Calinou force-pushed the project-manager-tweak-default-path branch from 16407df to 5921aff Compare December 29, 2025 21:19
@Calinou Calinou requested a review from a team December 29, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherrypick:3.x Considered for cherry-picking into a future 3.x release enhancement topic:editor usability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the default project path a subfolder

6 participants