twinejs icon indicating copy to clipboard operation
twinejs copied to clipboard

Searching for variables

Open Bengeljo opened this issue 4 months ago • 0 comments

Is your feature request related to a problem? Please describe.

I am working on someone elses story and see required variables but sometimes it is hard to find them in the passages since he got 680 passages and doesn't have a structure like setting them at the top, cause sometimes cause it is a link they are further down.

Describe the solution you'd like.

It would be cool if there is a section where you can look up variables. They would be listed like

  • set $Variable found in [Passage 1 , 2 , 8 and 23]
  • if $Variable found in [Passage 12 and 30]

Or like you can use the search function and the passages will be highlighted

Describe alternatives you've considered.

The Go To menu button could be used for that as well. You can enter text but in the project if you go with (set: $variable to 1) it doesn't show what I am looking for, but the variable is named after a character so it will show the passages with the characters name. Maybe a filter for the go to section so when you write set: it knows you looking for variables ?

Additional context on this suggestion.

No response

Presubmission checklist

  • [X] I am interested in working on code that would implement this feature request. (This is not required to submit a suggestion.)
  • [X] I have done a search and believe that an issue does not already exist for this idea in the GitHub repository.
  • [X] I have read and agree to abide by this project's Code of Conduct.

Bengeljo avatar Oct 08 '24 20:10 Bengeljo