Sublime text started adding a “.s” to new files
forum.sublimetext.com
Sublime text started adding a “.s” to new files
1–10 of 138 posts
Re: Sublime text started adding a “.s” to new files
#2Re: Sublime text started adding a “.s” to new files
#3Re: Sublime text started adding a “.s” to new files
#4Re: Sublime text started adding a “.s” to new files
#5I don't understand. What adding ".s" to the file name is supposed to correct?
Re: Sublime text started adding a “.s” to new files
#6I don't understand. What adding ".s" to the file name is supposed to correct?
Still on Sonoma, or I would answer this question myself.
Re: Sublime text started adding a “.s” to new files
#71. In the save dialog, filetype can determined in multiple ways (maybe selected from a dropdown, or be set by the program opening the dialog) and not necessarily just inferred from user-entered filename
2. So when returning the path to the program, it appends the filetype's extension to the path iff it doesn't already end in it (so user can enter just `notes` and file gets saved as `notes.txt`, if that was selected in the dropdown or the program's default)
3. Probably unintentionally, they've started allowing partial matches when inferring filetype from the user-entered filename
e.g: User enters `database.sql`, it matches against `.s` extension of assembly filetype, but `database.sql` doesn't end in `.s` so becomes `database.sql.s`
Re: Sublime text started adding a “.s” to new files
#8Who thought this was a good idea? Is there any actual documentation on this or is it just a thing they added?
Re: Sublime text started adding a “.s” to new files
#9Re: Sublime text started adding a “.s” to new files
#10In the Save File As dialog of most Windows apps, you can enclose the filename in double-quotes to force it to not add an extension. I wonder if that will help with the issue in macOS?