-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zed adds .s to my SQL files #16969
Comments
|
@axoking I can't seem to replicate this, was this happening on every sql file? |
|
@versecafe yes it seems to happen with every sql file |
|
OK edit It seems like Zed always autocorrects my file endings. Like when I name a file Is there a way to disable this or should I create a feature request issue for this? |
|
this is might not feature...., but I cannot reproduce. |
Bildschirmaufnahme.2024-08-30.um.15.56.04.movThis is what happens. I'm sorry you can't reproduce it. Are you using mac for this? |
Screen.Recording.2024-08-30.at.16.00.51.movokkk edit here: Could be a beta feature because I'm on Sequoia beta right now. I will look for an option to change this. Maybe you can also disable it when calling the file dialog in the application, idk if Apple thought about making that possible. I'll try to check if it's beta only and if there's a way for me to disable it. Gonna write some feedback using that nice feedback assistant... I guess that issue can be closed now. |
|
because I had seen another same issue. |
|
I would recommend creating files in zed through the CLI with touch, or zed ./file/path, or creating them through the editor to avoid macOSs file generation extension autocorrect in finder, windows has similar behaviour too with some files |
|
Yes, I don't think Zed developers can do much here. Creating a file from the command line or by clicking New file in the sidebar works without problems, it's only when you use the Finder dialog to save something. |
|
My goodness. Thanks everyone for posting about this issue. I thought I was going insane or something fucked with my machine. It started happening right after I upgraded to Sequoia. Let's try and raise with Apple to get this fixed. 20 times a day I have to fix this. So annoying. https://forum.sublimetext.com/t/sublime-text-started-adding-a-s-to-new-files-very-annoying/73628/4 |
|
Shout out to @axoking for figuring out this was an Apple Sequoia bug! |
|
Another test case: Create a file called 'foo.html.haml' and macOS Sequoia will append .h to the file, resulting in 'foo.html.haml.h'. |
|
Looking at https://news.ycombinator.com/item?id=41618926, it might also be a bug and not a feature. For me it looked like something that wouldn't happen from a bug, but I have no idea how all the stuff works internally so it could also be unintended. |
|
I'm sure Apple is aware of this, but I have filed my own report (https://feedbackassistant.apple.com/feedback/15301291), it doesnt seem like they have public bug reporting, but putting that link for my own future reference to keep an eye on this. If they update my issue, I'll report back here. |

Check for existing issues
Describe the bug / provide steps to reproduce it
Whenever I save a file a name it e.g.
test.sql, zed saves it astest.sql.swithout notifying me. I have no option to disable that behaviour. It doesn't matter wether I selected SQL syntax or not.I thought that this is maybe an intended feature for auto-completing the filenames, but I found no setting for that kind of behaviour so maybe it's also a bug.
Environment
Zed: v0.149.5 (Zed)
OS: macOS 15.1.0
Memory: 8 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: