coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.48k stars 432 forks source link

CotEditor in 'folder mode' can't open text files with unusual extensions #1720

Closed stonechoe closed 2 months ago

stonechoe commented 2 months ago

Current issue

When I open folder in new CotEditor 5.0.0, I can't open text files with unusual extensions.

For example, I can't open text files end with my custom file extension(*.ir).

스크린샷 2024-09-22 06 05 56

The solution you'd like

I want the editor to check whether a file is text or not using the same way used when opening file directly.

Alternatives you've considered

No response

CotEditor version

5.0.0

macOS version

15.0(24A335)

Additional context

No response

1024jp commented 2 months ago

Thank you for the feedback. As quick improvements, I added the following changes to CotEditor 5.0.1:

I'll brush up more in future updates to switch the editor and preview more flexibly.