-1.4 C
New York
Tuesday, December 24, 2024

macos – Why does my file endings routinely get corrected and the way can I disable it?


I am undecided if it is a beta function. I am on Sequoia 15.1 proper now which is the beta model, however perhaps that function is older and I’ve simply by no means seen it.

Every time I attempt to save a file with a e.g. a textual content editor, and it makes use of the usual macOS file saving dialog, it autocorrects my file endings with out asking me. For instance, if I title the file .pngg and click on on save, it is going to be saved as .pngg.png. That is completely silly and in addition annoying as a result of it would not truly “is aware of” all file endings. For instance, I wished to save lots of an SQL script, so I named it .sql, and my Mac made it .sql.s.

If you wish to attempt to reproduce:

  • Seize your favourite textual content editor (I examined it with Elegant Textual content, Zed and TextEdit)
  • You have to be sure that your app makes use of the usual macOS dialog to save lots of recordsdata and doesn’t require a particular file ending. For instance, when simply opening a brand new file in Elegant Textual content and saving it, this labored, however after I select e.g. Python syntax, macOS will all the time add .py to your file and would not tries to autocorrect it
  • When you’re utilizing TextEdit, Format > Make it plain textual content, and uncheck the .txt checkbox within the file dialog
  • Now create an empty, reserve it and title it one thing with a fucked up filename, like .txtx which clearly would not exist however is just like .txt, or .exea which can develop into .exe and so forth.
  • Click on on reserve it take a look at your filename now.

I can’t inform if it is a function from the beta or a bug.

How can I forestall this and get recordsdata saved precisely how I title them?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles