Skip to content

Instantly share code, notes, and snippets.

@ljmotta
Created October 13, 2020 21:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ljmotta/65fd8bb8e0743803e80c460e81924fc3 to your computer and use it in GitHub Desktop.
Base64Png VS Code package.json name
"contributes": {
"menus": {
"commandPalette": [
{
"when": "resourceLangId == png",
"command": "extension.kogito.createBase64Png"
},
{
"when": "resourceLangId == base64png",
"command": "extension.kogito.getPreviewSvg"
}
],
"editor/title": [
{
"when": "resourceLangId == png",
"command": "extension.kogito.createBase64Png",
"group": "navigation"
},
{
"when": "resourceLangId == base64png",
"command": "extension.kogito.getPreviewSvg",
"group": "navigation"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment