When I create a new document ("File > New"), paste some text and choose "Save" I end up with a file without file extension ("new1" or something else if I overwrote that suggestion). This might be intended in some rare cases but I guess in most cases there's an extension the user prefers.
The extension could be added by the user but this has to be done manually each time. If you create a lot of similar files it would be handy to have NP++ add the extension.
Would it be possible to add an option that sets the default file extension?
A good place would be "Preferences" > "New Document/Open Save Directory" > "Default file extension: ___".
When left blank NP++ would act like now: saving without extension. When entered e.g. ".txt" the above example would create the file new1.txt.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Of course I change the "new1" base names. The point is that a predefined extension would be an easy way to save the user from typing "foo.txt" or "bar.txt" the whole day. Just "foo" and "bar" would be what's needed, then.
And the predefined extensions in the drop-down box are fine but have to be chosen manually by clicking, searching and choosing. This is even more time consuming than typing the dot and the extension.
My idea was just to provide a convenient way to save the user from some typing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why hasn't this been fixed yet? It's such an inconvenience to always add .txt to the end of save file. Notepad2 has this built in, but the more advanced Notepad++ does not?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I create a new document ("File > New"), paste some text and choose "Save" I end up with a file without file extension ("new1" or something else if I overwrote that suggestion). This might be intended in some rare cases but I guess in most cases there's an extension the user prefers.
The extension could be added by the user but this has to be done manually each time. If you create a lot of similar files it would be handy to have NP++ add the extension.
Would it be possible to add an option that sets the default file extension?
A good place would be "Preferences" > "New Document/Open Save Directory" > "Default file extension: ___".
When left blank NP++ would act like now: saving without extension. When entered e.g. ".txt" the above example would create the file new1.txt.
Hmmm... don't you change the "new1" base names as well?
Abd there is a huge kisr of predefined extensions, right below the file name field.
CChris
Of course I change the "new1" base names. The point is that a predefined extension would be an easy way to save the user from typing "foo.txt" or "bar.txt" the whole day. Just "foo" and "bar" would be what's needed, then.
And the predefined extensions in the drop-down box are fine but have to be chosen manually by clicking, searching and choosing. This is even more time consuming than typing the dot and the extension.
My idea was just to provide a convenient way to save the user from some typing.
Why hasn't this been fixed yet? It's such an inconvenience to always add .txt to the end of save file. Notepad2 has this built in, but the more advanced Notepad++ does not?
I invite you to make this fix your contribution to N++!
joce.
Is there any chance that this will make it into a future version?