In the Godot Editor on functions you can ctrl+lmb and it opens up the docs. How can we do that with a text editor (for example open up test.txt).
As far as I know, this Ctrl + Click implementation relies on custom code which is editor-only – it's not exposed to scripting. You'd need to reimplement it by hand to use something like that in your own project: https://github.com/Calinou/godot/blob/d3cd63c41e763b1be25ce6c9e8deb41b5956f6e1/scene/gui/text_edit.cpp#L1180-L1204
Thank you very much!