Replies: 3 comments 2 replies
-
Hmm, this is something not about CotEditor but the macOS system in general. Generally, the user change the default application for a specific file type by setting it in the inspector in Finder (just like in this reply). Select CotEditor in the "Open with" pop up menu and then press the "Change All" button: In addition, in case the file mapping can be broken for some reasons, you'll need to reset the database of Raunch Services. |
Beta Was this translation helpful? Give feedback.
-
@1024jp Thanks for the reply. Yeah, this changes the default app for a single extension. What I intend to do is to open any text file in CotEditor. I think my problem is that there is another app, BBEdit, competing with CotEditor. Currently in terminal open -t anyTextFile opens the file in CotEditor, which means CotEditor is indeed the default editor. However, when I double-click the file, it still opens in BBEdit. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, there's no real way of natively changing the default application for text files on mass. I know some applications like IINA have a button within their settings that programmatically changes the default application for all video common file types. Maybe this could be a feature to implement in the future? Meanwhile, you can use an application called SwiftDefaultApps that should give you a similar function within a settings preference pane: |
Beta Was this translation helpful? Give feedback.
-
I have tried the top two methods in this thread replace-text-edit-as-the-default-text-editor, but they didn't help.
Beta Was this translation helpful? Give feedback.
All reactions