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

Allow for multiple `ide-contextual-queries/print-ast` queries

Open
#923 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the AST viewer and its handling of the underlying ide-contextual-queries/print-ast query. Trace how the viewer currently selects a query, then determine where multiple queries can be exposed in a dropdown. Done means the viewer allows selecting among multiple matching queries while preserving the existing behavior for a single query.

Written by the indexing model from the issue text.

Description

enhancement VSCode

Is your feature request related to a problem? Please describe.
For Ruby, we have two views of the AST: The rich AST, and the desugared AST. The AST viewer (that is, the underlying ide-contextual-queries/print-ast query) displays the former, but sometimes it would be nice to see the desugared view.

Describe the solution you'd like
Add a drop-down to the AST viewer where one can select among multiple ide-contextual-queries/print-ast queries (when multiple queries are present).

Describe alternatives you've considered

Additional context

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.