Support generating a database from a single file or code snippet

Open
#563 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
tooling

Research direction

The issue names no files, tests, or entry points. Start by locating the extension command that imports CodeQL databases, then clarify how a current buffer or selection, language selection, and autobuilds should work. Done criteria should define the supported input forms and the resulting database import behavior.

Written by the indexing model from the issue text.

Description

Complexity: High enhancement VSCode

Often users want to test out their queries on a small, custom-made database. The extension should facilitate the creation of small, simple databases from a single file or a selection.

In a single command, the user should be able to convert the current buffer (or the current selection in the current buffer) into a database, and then automatically import that database.

It might be the case that the user needs to explicitly specify a language. We also need to consider autobuilds. Not sure how that is going to come into play.

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.