Suggestion: Right click knot/stitch/gather point name to 1) go to definition, or 2) see all references
I'm used to being able to do this in Visual Studio for code, and I think it would be a useful feature for Ink.
I would find it useful to be able to right click a hyperlink (ie. a knot, stitch or gather point name), and, in addition to the regular right-click options, have a dropdown entry labelled "Go to definition" and another labelled "See all references". The first would just take me to the location of that actual knot, stitch or gather. The second would show me a list of all the lines in the Ink project that refer to this thing. (ie. if the knot I'm interested in is called "My_knot", it would list all the lines with "-> My_knot", "-> My_knot ->" or "<- My_knot").
This would allow writers to jump around the story more quickly, and more easily edit sections of script that the player can reach from multiple different places.
I want to bump this. I had come to this git to make the exact same suggestion. I have a long Ink script with lots of knots and the best way I have to navigate is to highlight the knot name in a divert and scroll up and down until I see the highlight. The longer the file, the more difficult this becomes. Letting you "Go to definition" as in VS (ideally retaining the ctrl-click shortcut) would be a fantastic QoL addition.
Inkle, please consider this.
I have since discovered that you can go to a knot definition by holding Alt and clicking the knot name. Have you tried that? It seems a bit unreliable (I clicked a stitch and it took me to the knot rather than the stitch) but works more often than not.
You can also press Ctrl-P to bring up a text box which allows you to search for anything. So if you know your knot is called "Chapter2_OpeningChest", for example, you can probably type "openingc" and it'd pop up.
I still think my suggestion is a good idea because it would be REALLY helpful to find all the references to a knot or stitch, but the definition side of the question seems to better than I thought.
Ah, great tip! Thank you for sharing that, that was news to me and it's going to be a huge help, I'm sure. Perhaps this should be added to the 'Useful Keyboard Shortcuts' window so it's easier to find (whether or not it could be truly classified as a keyboard shortcut if it uses the mouse)
But yes, I still agree with your feature request. Being able to find all references would be incredibly useful too, so still a big up from me on that.