A small issue on extension name when saving a file
When we save a new file, the default file type is ".txt", which causes inconvenience. For example, when I want to save a new file as "my-prog.awk", it will become "my-prog.awk.txt", because the program doesn't know the extension ".awk".
Could we settle it this way? When an extension name is given, just save it as it is set; when an extension name is not given, save it as ".txt" file. And when a dot is given at the end of the file name, save it without an extension.
Can be solved with following ways:
- Change current scheme to Awk before save,
.awkwill be auto appended to file name. - Just use "All Files" at end of the drop-down list for any manually typed extension.
v24.05 is already 1 years old.
My current version doesn't have the ".awk" file type.
-
Schemes -> Syntax Schemes, then select "Awk Script".
-
Schemes -> Favorite Schemes, check "Awk Script", then "Awk Script" is always on the drop-down list. See https://github.com/zufuliu/notepad4/wiki/Customize-Schemes#favorite-schemes
My current version doesn't have the ".awk" file type.
Even if it does, it's still troublesome to find the extension you want to save. Can we let users decide what they want to save? You don't have to list all those extensions at the drop-down window. Default it to ".txt" or use the extension name a user typed. In this way the save options will be much more simplified.
This works for awk script. How about those new coming languages that you have not defined, like moonbit, or other user-defined file types that you could not defined? Please consider my advice. Thanks.
I just found both Notepad3 and EmEditor are in the same way I advice when saving files. It's very convenient, you can save a file to a name with any extension you want, and without an extension it saves it to a text file automatically.
I don't use either of them, can you take a screenshot of their save file dialog?
For Notepad3, the file type list has only one item (All files); and for EmEditor, it has a lot of items but it takes "All files" as the default option.