Make links to scripts in Output window work for cloned/moved scripts

As a developer, I often write scripts that print output or display errors, and want to be able to quickly jump to the source of that output. However, if the script is cloned or moved (like all LocalScripts are), after pressing the stop-button, the “link” in the output goes nowhere.

Since Scripts’ contents cannot be dynamically created, Studio should be able to pinpoint exactly where in the static place the source lives. At worst, Studio could use the script’s contents to do a lookup (and maybe fail if there are scrips with duplicate content); better, it could internally track the full path of original version of the script as scripts are cloned/reparented.

As a related feature, lines of output with dead links probably shouldn’t behave like links (underline / cursor change when hovering).

10 Likes