I want to set the default text editor for Makefiles to something like Atom or Sublime Text to make them easier to open, and so that when I edit remote Makefiles through CyberDuck they will open in one of these editors by default.

Typically, I set a default file type's default 'open' app by right clicking -> Get Info -> Open With -> Change All

However, every time I try to do this for files called 'Makefile', I get the following error:

An error occurred while changing the application that opens “Makefile” because not enough information is available.

Do you want to open “Makefile” with “Sublime Text.app”?

enter image description here

Any ideas how to fix this? I am currently on OS X El Capitan 10.11.6

  • It needs a suffix like .txt , .zip, or .myCustomFileType – Harcker Feb 16 '18 at 19:14
  • 1
    Makefiles do not have file extensions. [Source] – user5359531 Feb 16 '18 at 19:24
  • But it needs one to select a standard application... – Harcker Feb 17 '18 at 11:08
  • @Harcker why?in next step you could set a drive to make an editor open any file. Macros is basically the same her so what gas that command changed to? – user151019 Feb 18 '18 at 0:46

You must log in to answer this question.

Browse other questions tagged .