Hello, I found out why this is happening. It uses the ".h" extension when the file is first opened, but when the extension is changed, it uses that extension. CodeEdit enforces this extension resulting in extensions like '.py.h' or '.swift.py'. This is clearly visible in the video I recorded.
Edit: updated from iCloud link to google photos link (I think that will work this time)
Great find @lucek8123! We need to add logic to not enforce the extension when changing the extension to something other than what it currently is. Would you be able to take this on?
Description
When I try to rename the file from
Untitledto something likemain.swift, it generates a header file namedmain.swift.hTo Reproduce
main.swiftormain.cppetc etc ..Expected behavior
To generate a file with the extension entered.
Version information
CodeEdit: [e.g. 1.0]
macOS: [e.g. 12.3.0]
Xcode: [e.g. 13.3]
Additional context
The text was updated successfully, but these errors were encountered: