Skip to content

Instantly share code, notes, and snippets.

@ljmotta
Created October 13, 2020 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ljmotta/bd35be9fd0bcfcdcb08a7d6e76f5f001 to your computer and use it in GitHub Desktop.
Save ljmotta/bd35be9fd0bcfcdcb08a7d6e76f5f001 to your computer and use it in GitHub Desktop.
Base64Png VS Code package.json contributes
"contributes": {
"customEditors": [
{
"viewType": "kieKogitoWebviewBase64PNGEditor",
"displayName": "Kogito Base64Png React Editor",
"selector": [
{
"filenamePattern": "*.base64png"
}
]
}
],
"commands": [
{
"command": "extension.kogito.createBase64Png",
"title": "Create Base64 PNG",
"icon": {
"light": "./static/kogito-logo-128x128.png",
"dark": "./static/kogito-logo-128x128.png"
}
},
{
"command": "extension.kogito.getPreviewSvg",
"title": "Save Preview SVG",
"icon": {
"light": "./static/svg-icon-light.png",
"dark": "./static/svg-icon-dark.png"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment