Is it possible to write custom inspectors for any file type?

I put .xls files in project trees, and I want to show the content of which xls I select in the inspector window, but the example in reference shows that extra script binding is needed. Is any way to do this?

Yeah sure you can programm an own inspector. For example Strumpys shader editor is something like an inspector. Only its an editor for shaders.