Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Change the query compare command's text based on how many items are selected

Open
#471 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript, vscode
Domain
devtools

Research direction

Start by tracing the query compare command and how the selected query count is passed to its command title. Check the existing one- and two-query workflows, then verify that one selection shows “Compare with...” and two selections show “Compare Selected”; the issue names no files or tests.

Written by the indexing model from the issue text.

Description

Complexity: Medium enhancement VSCode

The workflow for comparing queries is different if you have one query selected or two. When one query is selected, and a user invokes the compare command, an options box opens where the second query can be selected. When two queries are selected, the comparison happens immediately.

We should either:

  1. use two commands for these two workflows and only display one or the other based on selection count. This is currently blocked by https://github.com/microsoft/vscode/issues/99767
  2. Change the command title text based on the number of items selected. Not sure exactly how best to do this.

When one item is selected, use Compare with... and when two are selected, Compare Selected.

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.