Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2101

Dynamic variable list for script editor auto completion

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 2.5.6
    • Scripting, User Interface
    • None

      The script editor allows auto completion via popup for function names and variables. While it has a definitive list of available functions (including functions provided by plugins), variable auto completion is only hard coded (known tags, known hidden variables).

      The variable completion could be improved by dynamically extending the variable list. Some ideas:

      • Parse all the scripts for set variables
      • Dynamically parse the currently edited script for set variables (so if you type $set(foo,bar) it will immediately make %foo% available for autocompletion
      • Allow plugins to specify extra variables they support
      • We could even try to automatically gather tags getting set by plugins or manually and offer them in the completion as well
      • Autocompletion of tagname also for e.g. $set(tagname) and similar functions? (maybe a separate story)

            Unassigned Unassigned
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package