Discuss Scratch
- Discussion Forums
- » Suggestions
- » Link to scripts from comments (has a mockup)
- ajskateboarder
-
Scratcher
1000+ posts
Link to scripts from comments (has a mockup)
This is kind of similar to this topic, but hear me out, it's sort of an improvement
Similar to the idea of visually chaining scripts, this feature would allow scripts to be linked to - sort of like webpage links - from editor comments. If you click on a link, it should teleport to wherever the script is, whether it be inside the same sprite or a different one.
To get a link, all you would have to do is right click the script, click a button to copy the script link to clipboard, and be able to paste into a comment
These links could also work outside of the editor so you can say exactly which script you are having trouble with
thanks Ammophobia for that one
Here's a mockup I made with a userscript :D

Similar to the idea of visually chaining scripts, this feature would allow scripts to be linked to - sort of like webpage links - from editor comments. If you click on a link, it should teleport to wherever the script is, whether it be inside the same sprite or a different one.
To get a link, all you would have to do is right click the script, click a button to copy the script link to clipboard, and be able to paste into a comment
These links could also work outside of the editor so you can say exactly which script you are having trouble with
thanks Ammophobia for that one
Here's a mockup I made with a userscript :D

Last edited by ajskateboarder (Oct. 8, 2023 16:48:56)
- Ammophobia
-
Scratcher
31 posts
Link to scripts from comments (has a mockup)
Nice idea, one (or maybe two) questions
Would the link work outside of comments in the editor? And if you click on the link, it would relocate you there, right?
Would the link work outside of comments in the editor? And if you click on the link, it would relocate you there, right?
- ajskateboarder
-
Scratcher
1000+ posts
Link to scripts from comments (has a mockup)
Nice idea, one (or maybe two) questionsThat's also a pretty good idea. If someone has questions about how a certain script works, they can say exactly which script it is
Would the link work outside of comments in the editor? And if you click on the link, it would relocate you there, right?
Thanks for the feedback, I hardly ever get any responses on my suggestions
- DifferentDance8
-
Scratcher
1000+ posts
Link to scripts from comments (has a mockup)
How would the link even be formatted?
- ajskateboarder
-
Scratcher
1000+ posts
Link to scripts from comments (has a mockup)
How would the link even be formatted?Like a link, obviously
It would use those hashes that you see sometimes to relocate to a script
https://scratch.mit.edu/projects/1234567890/editor#Sprite1-scriptIDsomething (the ID is just a bunch of random stuff that you get from copying the link to the script)
In editor comments, this will be clickable
Last edited by ajskateboarder (Oct. 6, 2023 14:59:01)
- ajskateboarder
-
Scratcher
1000+ posts
Link to scripts from comments (has a mockup)
Bump, there's a mockup now
- Zydrolic
-
Scratcher
1000+ posts
Link to scripts from comments (has a mockup)
Interesting.
Would help out basically every HwS helper in existance after they remix a project — Just jot down the URLs and changes instead of manually recreating it in the forums or other stuff such as explaining, etc.
Convenient, however if it's being added now, then what about PAST projects? Will it just… skip over them for now? What if you delete the code, what happens to the chainID? Will it turn into a dead link? (edit: actually this is a dumb question but oh well)
Support.
Would help out basically every HwS helper in existance after they remix a project — Just jot down the URLs and changes instead of manually recreating it in the forums or other stuff such as explaining, etc.
Convenient, however if it's being added now, then what about PAST projects? Will it just… skip over them for now? What if you delete the code, what happens to the chainID? Will it turn into a dead link? (edit: actually this is a dumb question but oh well)
Support.
Last edited by Zydrolic (Oct. 8, 2023 17:10:47)
- ajskateboarder
-
Scratcher
1000+ posts
Link to scripts from comments (has a mockup)
Bump

Convenient, however if it's being added now, then what about PAST projects? Will it just… skip over them for now?It wouldn't need to ignore projects in the past since this is not something that has to be done by Scratch's servers. Link annotations would happen on the client
What if you delete the code, what happens to the chainID? Will it turn into a dead link? (edit: actually this is a dumb question but oh well)Yes, it would become a dead link

- Zydrolic
-
Scratcher
1000+ posts
Link to scripts from comments (has a mockup)
(#9)oh im dumb lol
It wouldn't need to ignore projects in the past since this is not something that has to be done by Scratch's servers. Link annotations would happen on the client
- Discussion Forums
- » Suggestions
-
» Link to scripts from comments (has a mockup)