Skip to content

aprilla/vscode-github-issue-notebooks

 
 

Repository files navigation

👉👉👉 This extension is still under development.

👉👉👉 Latest VS Code Insiders is required and at times this extension might be broken.


Build Status

GitHub Issue Notebooks

The VS Code GitHub Issue notebook extension enables you to run issue queries from within VS Code so that queries and results are displayed interleaved - just like in other notebook applications.

Getting Started

  1. use latest VS Code Insiders
  2. install this extension from the market place: https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-github-issue-notebooks
  3. create a XYZ.github-issues file and you are all set

Sample

Features

The following features are currently supported

  • Querying and rendering of GH issues and PR queries
  • Language Support
    • syntax highlighting
    • validation
    • completions
    • code navigation (find references, to go definition)
    • rename
    • formatting

Query Syntax

This extension supports to search for issues and pull requests using GitHub search queries (https://help.github.com/en/github/searching-for-information-on-github/searching-issues-and-pull-requests). In addition, variables can be defined and OR-queries can be used. Approximation of the grammer:

doc ::= query | or | def
query ::= <GH_QUERY>
or ::= query "OR" query | or
def ::= var "=" query
var ::= "$" [_a-zA-Z] [_a-zA-Z0-9]*

Note that new line characters always terminate an expression.

Samples

A few sample queries from the vscode-project, paste each into a separate code cell

Define variables for vscode and the current milestone (May 2020):

$vscode=repo:microsoft/vscode 
$milestone=milestone:"May 2020"

All current bugs I have created that are closed but not yet verified (using above variables):

$vscode $milestone is:closed author:@me -assignee:@me label:bug -label:verified

All issues that affect performance (startup, freezing, leakage):

$vscode assignee:@me is:open label:freeze-slow-crash-leak
$vscode assignee:@me is:open label:perf
$vscode assignee:@me is:open label:perf-startup

About

GitHub Issues Notebooks for VS Code

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.7%
  • Other 1.3%