How to permanently put TextEdit in the Open with... menu list? I'm a developer and often dealing with unusual file types. If I want to open one of these files in TextEdit, I have to start it first and then open the file with it, or drag the file to the TextEdit icon.

Is there a way to permanently put the TextEdit.app into the Open with... menu list no matter what file type I'm looking at? 

Of course this procedure will be useful for whatever text editor you choose if TextEdit isn't your cup of tea.
The only way to do this with all file types is to create a service in automator, which actually should make things easier for you.


Open Automator and select "Service".
In the "Service receives selected..." dropdown, change it to read "receives selected files and folders in any application"
Select Utilities from the library menu in the left pane and double-click "Run Shell Script"
Change the "Pass Input" dropdown to "as arguments"
Delete the default script and replace with the following:

if [ -f "$1" ] ; then
    open -a "TextEdit" "$1" ;
fi



Save this file as whatever you want it to show up as in your contextual menu, something like "Open With TextEdit" and you're done, you'll now have the option to open any file with text edit. 

It won't be in the open with menu, it will be a separate item in the contextual menu grouped with any other services you have running.

On a side note, if you're developing on a mac you should really think about using a better text editor like TextMate or TextWrangler or Sublime Text, some of these even add the service for you to save you doing all of the above.