New behaviour of auto-add extension in file save dialog in v4.4.1 is defined here :
1. The filter *.* don't change the extension at all, whatever users type.
2. The file save dialog will be launched with the filter *.* set as default. So user can add any customized extension.
3. Choose other filters will change extension of file automatically.
For example, a file name "toto.php" will be changed to "toto.txt" if the filter Normal Text "*.txt" is choosen.
I think it's a good compromise between ones who need auto-add extension feature and ones who prefer to give their own customized extension.
This behaviour will be implemented in the v4.4.1, which will be released in this weekend.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you memorized the last filter selected to satisfy those who allays wants to auto add extension without to reselect at each time they reopen the dialog box or notepad++.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you memorized the last filter selected to satisfy those who allays wants to auto add extension without to reselect at each time they reopen the dialog box or notepad++?
Hopefully ! Otherwise it would be painful to adjust it again and again. Thank you Don for using your brain.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In my opinion, if somebody types in an extension in the filename, then NPP should respect it and never change it, no matter the filter selection.
What if the user select a specific language type and then the save as pops up with a different filter?
In my opinion the language type select you be predominant and force the extension if the user does not give one.
So in my opinion:
1) if the user specify an extension, it should always be respected
2) only if there is not extension, the check if the unsaved file has a language selection, then use default extension for such language (or at least pick the right filter)
3) if none of the above, then add the extension of the currently selected filter
I think is more consistent with other power editors around.
Franco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Other programs solve this problem with an ending "." since that is an illegal extension in Windows.
So if you type "readme." you save the file as "readme" independently from the drop down selection.
The idea that NPP identify an extension definition in the name and replace it with the one in the drop down box does not make much sense in my personal opinion.
If NPP knows that I typed one (and it know since it replace it), it should either leave it alone or append the extension... why replacing it?
Obviously this is my small point of view. May be a review of the behaviour of other editors will help understanding better what the majority of people are used to.
Franco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've installed Version 4.4 at the moment, the newest available.
I can choose *.* filter, it doesn't matter. If i have index.php, and i want to save it as index.html, i choose save as, choose *.* and type in index.html -> I will get an index.php!
that sucks heavily! Need older version back.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FYI :
New behaviour of auto-add extension in file save dialog in v4.4.1 is defined here :
1. The filter *.* don't change the extension at all, whatever users type.
2. The file save dialog will be launched with the filter *.* set as default. So user can add any customized extension.
3. Choose other filters will change extension of file automatically.
For example, a file name "toto.php" will be changed to "toto.txt" if the filter Normal Text "*.txt" is choosen.
I think it's a good compromise between ones who need auto-add extension feature and ones who prefer to give their own customized extension.
This behaviour will be implemented in the v4.4.1, which will be released in this weekend.
Don
We will love it, sure :-)
I think so too.
Do you memorized the last filter selected to satisfy those who allays wants to auto add extension without to reselect at each time they reopen the dialog box or notepad++.
Sure.
Don
Do you memorized the last filter selected to satisfy those who allays wants to auto add extension without to reselect at each time they reopen the dialog box or notepad++?
Hopefully ! Otherwise it would be painful to adjust it again and again. Thank you Don for using your brain.
Thanks Don! This sounds great!
BOB
You are welcome Bob :)
Don
In my opinion, if somebody types in an extension in the filename, then NPP should respect it and never change it, no matter the filter selection.
What if the user select a specific language type and then the save as pops up with a different filter?
In my opinion the language type select you be predominant and force the extension if the user does not give one.
So in my opinion:
1) if the user specify an extension, it should always be respected
2) only if there is not extension, the check if the unsaved file has a language selection, then use default extension for such language (or at least pick the right filter)
3) if none of the above, then add the extension of the currently selected filter
I think is more consistent with other power editors around.
Franco
What if a user specifically wants _no_ extension?
Then choose *.* as filter. This filter won't modify the file name - whatever user types.
Don
Question was for Franco, who didn't seem to think about this situation.
Other programs solve this problem with an ending "." since that is an illegal extension in Windows.
So if you type "readme." you save the file as "readme" independently from the drop down selection.
The idea that NPP identify an extension definition in the name and replace it with the one in the drop down box does not make much sense in my personal opinion.
If NPP knows that I typed one (and it know since it replace it), it should either leave it alone or append the extension... why replacing it?
Obviously this is my small point of view. May be a review of the behaviour of other editors will help understanding better what the majority of people are used to.
Franco
https://sourceforge.net/forum/message.php?msg_id=4578482
It's the best compromise for me. So it'll come with v4.5.
Don
I have to aggree with Franco. Most of the editors behaves like this way.
I've installed Version 4.4 at the moment, the newest available.
I can choose *.* filter, it doesn't matter. If i have index.php, and i want to save it as index.html, i choose save as, choose *.* and type in index.html -> I will get an index.php!
that sucks heavily! Need older version back.
> that sucks heavily! Need older version back.
Or be patient a little bit for the v4.5 ?
I'm finishing one new feature then I'll release v4.5.
Only a couple of days' waiting...
Don
Yeah, this would be great, too! ;)
God bless you, Don!
It's not in God I trust...
But thank you anyway :)
Don