You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up on closed issue: #1396
When saving a file without any extension, .txt is automatically appended. There appears to be no option to disable this behavior.
The file format does not appear to influence this behavior. For instance, saving a Dockerfile as "Dockerfile" even when the file format is set to "Dockerfile" in CotEditor results in the file being saved as "Dockerfile.txt".
In contrast, TextEdit offers a toggle to disable the automatic addition of the ".txt" extension on save. Would it be possible to implement a similar logic in CotEditor?
To Reproduce
Go to 'File'
Click on 'Save'
Enter a name without any extension under 'Save As': for example Untitled
See that the file is saved as Untitled.txt
Expected behavior
No response
CotEditor version
5.0.4
macOS version
15.1 (24B83)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Thank you for the report.
It seems to occur only on macOS 15 (or any other specific conditions) since CotEditor 5.0.5 correctly adds a filename extension on macOS 14 in my environment.
Thus, this can be either a bug on macOS 15, the behavior internally changed in macOS 15, or there is some other hidden condition triggering this issue.
Let me have some more time to investigate.
Description
Follow-up on closed issue: #1396
When saving a file without any extension,
.txt
is automatically appended. There appears to be no option to disable this behavior.The file format does not appear to influence this behavior. For instance, saving a Dockerfile as "Dockerfile" even when the file format is set to "Dockerfile" in CotEditor results in the file being saved as "Dockerfile.txt".
In contrast, TextEdit offers a toggle to disable the automatic addition of the ".txt" extension on save. Would it be possible to implement a similar logic in CotEditor?
To Reproduce
Untitled
Untitled.txt
Expected behavior
No response
CotEditor version
5.0.4
macOS version
15.1 (24B83)
Additional context
No response
The text was updated successfully, but these errors were encountered: