Skip to content

Commit

Permalink
feat: add open in vscode/browser commands to right click context menu… (
Browse files Browse the repository at this point in the history
#1267)

* feat: add open in vscode/browser commands to right click context menu and editor title when file is markdown

* style: whitespace
  • Loading branch information
henrikvilhelmberglund authored Oct 28, 2024
1 parent 6f167a7 commit ef2bc46
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,35 @@
"group": "navigation"
}
],
"editor/title": [
{
"when": "resourceLangId == markdown",
"command": "vscode-revealjs.showRevealJS",
"group": "navigation"
},
{
"when": "resourceLangId == markdown",
"command": "vscode-revealjs.showRevealJSInBrowser",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "vscode-revealjs.goToSlide",
"when": "view == slidesExplorer && viewItem == slideNode"
}
],
"explorer/context": [
{
"when": "resourceLangId == markdown",
"command": "vscode-revealjs.showRevealJS",
"group": "navigation"
},
{
"when": "resourceLangId == markdown",
"command": "vscode-revealjs.showRevealJSInBrowser",
"group": "navigation"
}
]
},
"snippets": [
Expand Down

0 comments on commit ef2bc46

Please sign in to comment.