I don’t have an answer to how to make it recognise the .script files, but on the off chance you haven’t heard, we now have an integrated debugger in Editor 2
Perhaps you have tried it already?
A function outline seems like a good feature request. Please feel free to add it to the editor 2 issues