Supposedly, the ability to view two scripts at the same time in Godot was added in version 4, but I haven't been able to find a way to do it.
I think the only possible way would be to open Godot twice. I tried looking into other ways but I couldn't find any...
It was supposed to be in godot 4 but has not been released yet I believe. You can open your project up multiple times and then drag the separate projects to the sides of your screen and pull up different scripts on each.
You could always open an instance of VSCode and have it up that way.
I was also wondering this. I tried looking all around Godot but the only way I found was to just open Godot twice. I've only tried this on two separate projects, so I'm not sure how well it would work on two scripts from the same project.
i use multiple ide to do that and if im looking at a script from another project i open another godot window