Cannot edit a file without a file extension
CompletedIf I create a file outside of nvultra with no file extension, then when I open it in nvultra, I cannot edit it.
-
Correct -- a file with no extension has no UTI to tell the OS whether it is a text file or a non-text binary file. Brute force examining the file to see if it "looks like" text is possible, but not particularly reliable and can cause difficulties if you accidentally edit a non-text binary file that happened to look like text.
(Technically the UTI does exist, but it is "public.item"/"public.data", which is essentially meaningless and does not indicate whether a file is text or non-text)
At this time, there are no plans to change this behavior due to the potential danger it could cause.
Use file extensions. That's what they're there for. ;)
0 -
Makes sense, thanks for the additional technical details.
0
Please sign in to leave a comment.
Comments
2 comments