Call a function when double clicking on a code file.

hey guys, is there/does anyone knows of a function I could override on editor scripting to be called when I open script files?.

my idea is to call a function that opens a bunch of files when opening a script file when I double click a script file in unity to after open the file in emacs.

cheers.

automatically im not sure and never tried, but could you make a drop down menu in the editor that opens the files you want?

yeah, but the idea is to be binded to the project view, not a custom editor :frowning: