This is not quite ideal due to https://github.com/microsoft/vscode/issues/99767 Allow multiselection in the query-history view. For commands that shouldn't accept multiple options, show a user message to that effect. For remove query, allow multiple removals at once. For compare query, allow selecting of exactly two queries. Otherwise, throw an error. Also, verify that the selected queries are compatible to compare.