Recalculate valid folder name when creating new projects

Hi,

I have a default project location setup but I also like to keep my projects sorted by platform in separate folders under the default. When I create a new project the folder name is calculated based on whats already in the default project location

ie ConsoleApplication1, ConsoleApplication2, ConsoleApplication3

etc

if I select a new folder in the save as dialog would it be possible to recalculate the folder name ? In my case its quite likely the names will clash.

Cheers,
John

Hmm. It should be doing that, already. Fire, or Water?

Fire

i’ll have a look.

Logged as bugs://E25551.

Hm. this seems to be a bug with the macOS NSSavePanel. I do adjust the filename, it just doesnt works…

2021-12-07 09:56:27.481719-0400 Fire[31816:4109263] didChangeToDirectoryURL file:///Users/mh/Test%20Projects/
2021-12-07 09:56:27.481758-0400 Fire[31816:4109263] name App5
2021-12-07 09:56:27.481918-0400 Fire[31816:4109263] uniqueNameBasedOnName App5
2021-12-07 09:56:27.482092-0400 Fire[31816:4109263] sender.nameFieldStringValue App5
2021-12-07 09:56:27.482119-0400 Fire[31816:4109263] sender.URL file:///Users/mh/Test%20Projects/App5
2021-12-07 09:56:34.882597-0400 Fire[31816:4109263] ---
2021-12-07 09:56:34.882644-0400 Fire[31816:4109263] didChangeToDirectoryURL file:///Users/mh/
2021-12-07 09:56:34.882706-0400 Fire[31816:4109263] name App5
2021-12-07 09:56:34.882994-0400 Fire[31816:4109263] uniqueNameBasedOnName App
2021-12-07 09:56:34.883224-0400 Fire[31816:4109263] sender.nameFieldStringValue App
2021-12-07 09:56:34.883265-0400 Fire[31816:4109263] sender.URL file:///Users/mh/Test%20Projects/App5

I read sender.nameFieldStringValue back and it says “App”, but I still see “App5” in the panel, and the URL itself doesn’t change :(.

bugs://E25551 was closed as fixed.

Heh. Just spotted an issue with the site: Feb '21 is not 3 months later than Dec '21 :slight_smile:

Dec '21” vs “Feb 21

which means “some day in December of 2021” and “February 21 of this year of 2022”. Which is roughly 3 months apart. :wink:

1 Like