rioj7 / command-variable

Visual Studio Code extension for variable substitution via ${command:commandID}
54 stars 10 forks source link

multi pick list handles option value with key-value object incorrect #97

Closed rioj7 closed 2 weeks ago

rioj7 commented 1 month ago

issue emerged from #96

l-inc: Besides, referencing the entries by label is currently problematic with multi-pick lists anyway if the labels and values differ. That's because of the inconsistency between the multi-pick and single-pick lists when handling value that consists of key-value pairs. For the single-pick lists, the keys and values in the key-value pairs become storage keys and values respectively, whereas multi-pick lists store the key-value pair as a single object, which cannot be used for the purpose of retrieving the labels.

rioj7 commented 2 weeks ago

@l-inc v1.66.0 - I have changed how values that are objects with key-value pairs are handled for multi pick lists.