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
Use the system file dialogue to name the file "test.zig" and click "Create File" (or OS equivalent)
Expected Result:
The file is saved as "test.zig"
Actual Result:
Extension renames the file to "test.zig.z"
Notes:
One thing that’s notable is that this only happens when the format is supposed to be inferred by the file extension (by adding .zig at the end). If I explicitly click zig in the dropdown menu it does not occur. It does not occur for non-Zig files. It does occur on every file type if I click “No Extension” in the dropdown menu.
I wasn't able to reproduce this on windows either. It seems to be an issue unique to mac. I'll do some more experiments on it tomorrow to see if I can narrow down the cause.
Prerequisites:
Reproduction Steps:
Expected Result:
The file is saved as "test.zig"
Actual Result:
Extension renames the file to "test.zig.z"
Notes:
One thing that’s notable is that this only happens when the format is supposed to be inferred by the file extension (by adding .zig at the end). If I explicitly click zig in the dropdown menu it does not occur. It does not occur for non-Zig files. It does occur on every file type if I click “No Extension” in the dropdown menu.
System info:
Zig 0.13
Zig Extension v0.63
VS Code Info:
Version: 1.96.2 (Universal)
Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f
Date: 2024-12-19T10:22:47.216Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0
The text was updated successfully, but these errors were encountered: