Skip to content

Instantly share code, notes, and snippets.

@ninmonkey
Last active November 24, 2021 07:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ninmonkey/e5fef4962a38eabcd9286cf55e00aecc to your computer and use it in GitHub Desktop.
Save ninmonkey/e5fef4962a38eabcd9286cf55e00aecc to your computer and use it in GitHub Desktop.
VS Code on the Web - Cheat Sheet - Custom urls.md

Original Announcement: vscode.dev

The announcement is very detailed: https://code.visualstudio.com/blogs/2021/10/20/vscode-dev

  • (Currently) Editing files on your local filesystem requires edge/chromium

Url Cheatsheet

Description Url Format Example Url
Your Editor - vscode.dev
Github: Using github.com github.com/<user>/<repo> github.com/TabularEditor/BestPracticeRules
github: Using Vscode.dev vscode.dev/github/<user>/<repo> vscode.dev/github/microsoft/powerquery-parser
github: Using Azure Dev vscode.dev/dev.azure.com/... replace https://dev.azure.com/...
with https://vscode.dev/dev.azure.com/...
Themes vscode.dev/theme/<name> vscode.dev/theme/sdras.night-owl
Live Share /w Guest vscode.dev/liveshare vscode.dev/liveshare

Issues Cheatsheet

Example Description
involves:username involves qualifier is a logical OR between
the author, assignee, mentions, and commenter
is:open Open Issues and PRs
is:open assignee:@me Assigned to you
is:open mentions:@me Mentions you
is:open is:issue author:@me Your issues
is:open is:pr author:@me Your PRs
error in:title,body search title and body for error
warning in:title Search title for warning
in:title warning in:title matches issues with "warning" in their title.
in:body error in:title,body matches issues with "error" in their title or body.
shipit in:comments matches issues mentioning "shipit" in their comments.

Operators:

Mentioned addons

Code Tours

Gistpad: Private Gist Tours

... Allows you to easily create your own private tours and/or create tours that can be shared with others on your team ... Once a tour is exported as a gist ... They are able to take the exact same tour, regardless if they have the code locally available or not

screenshot tours screenshot 2

CI: Github Action

CodeTour Watch

CI: Azure Action

CodeTour Watcher

Github Issues

Using Variables / OR appending queries

Github Issues: Query Syntax Docs

screenshot issues

Wiki Lens

screenshot

[
{
"kind": 2,
"language": "github-issues",
"value": "$vscode=repo:microsoft/vscode \r\n$milestone=milestone:\"May 2020\"\r\n$vscode $milestone is:closed author:@me -assignee:@me "
},
{
"kind": 2,
"language": "github-issues",
"value": "$repo=repo:microsoft/vscode-powerquery\r\n$repo is:open involves:ninmonkey"
},
{
"kind": 2,
"language": "github-issues",
"value": "$repo=repo:PowerShell/vscode-powershell\r\n$repo involves:@me"
},
{
"kind": 2,
"language": "github-issues",
"value": "$repo=repo:PowerShell/vscode-powershell\r\n$repo involves:@me\r\n"
}
]

Edit me badge:

Preview in vscode.dev

Github issue queries with variables

$vscode=repo:microsoft/vscode
$milestone=milestone:"May 2020"
$vscode $milestone is:closed author:@me -assignee:@me
$repo=repo:PowerShell/vscode-powershell
$repo involves:@me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment