2

Files without extension always open in TextEdit ... I want them to open in SublimText 3

I tried to change my com.apple.launchservices.secure.plist, but simply adding public.text did not work ...

3

The solution was doing it with public.data

1) Go to ~/Library/Preferences/com.apple.LaunchServices

2) Open com.apple.launchservices.secure.plist with Xcode

3) Add this :

screen

4) Save & Reboot

  • 1
    A .plist file can be edited with any text editor, such as SublimeText, for instance! ;) – Thecafremo Oct 1 '17 at 22:42
  • @Thecafremo, The com.apple.launchservices.secure.plist file is a binary plist file and while Sublime Text can open it, it does so in hex mode and as such cannot be edited in the manner proposed in this answer. If it was an XML plist file, then it could. – user3439894 Oct 2 '17 at 18:54
  • @user3439894 Weird. TextMate will open it, and make it readable, without a problem. – Thecafremo Oct 3 '17 at 16:26
  • @Thecafremo, I have Sublime Text 2, so maybe they improved it in version 3. – user3439894 Oct 3 '17 at 16:30
  • Nope. Sublime 3 still opens it in hex mode :/ – Scott Schupbach Jul 26 at 21:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .