Desired result:
All .py files show a nice Python icon, regardless of what default program they opened with. (Same for .cpp files, .txt files, etc)
_
How it currently works:
Files (ex: .py files) are associated with their default program (in my case, Sublime text editor). The program (Sublime) then gets to choose what icon to show. It is possible to manually edit the program's (Sublime's) code to change the icons.
Details: https://superuser.com/questions/178316/how-to-set-an-icon-for-a-file-type-on-mac
(I have done this with Sublime)
_
Why this result is not enough:
I recently switched to the Atom text editor which broke all the icons I had setup in Sublime. In addition, I can't change the icons for Atom like I did in Sublime. The Atom editor's plist file and resources folder is not setup like Sublime. (It is still possible, but rather than renaming/replacing things, Atom actually requires additional code to be written/modified, and I don't have the skill/knowledge to just write the necessary code, and I cannot find any tutorial for learning how)
I (and I believe many others) would prefer that the file icon was set independently from what the default program is. (I mean an Excel file should look like an Excel file whether or not I open it with Microsoft Excel, Numbers, or Sublime)
_
Possible solution:
It might be possible to fix this with an opener-app. If an opener-app is made the default opener for all file extensions, it would be able to set the icon for all those extensions. Then when the opener-app opens a file (for example .py file) it could then open that file with another program (for example Sublime). This way the default program could be changed through the opener-app, (for example, changing the opener-app to have all .py files open the Atom Editor) but, because the opener-app is still technically the default, all the file-icons remain unchanged.
_
Question:
Does anyone know of an app that does this already?
(If you know of any resources on how to create an app like this, I'd be happy to use them to make the app myself, and post the answer here)