From 41341293757982bedebf1176a92fa6e028f68d3a Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Tue, 31 Mar 2020 23:48:55 -0700 Subject: [PATCH] Update extension ids --- custom-editor-sample/package.json | 8 ++++---- custom-editor-sample/src/catScratchEditor.ts | 2 +- custom-editor-sample/src/pawDrawEditor.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/custom-editor-sample/package.json b/custom-editor-sample/package.json index 28af3d24..ce678c82 100644 --- a/custom-editor-sample/package.json +++ b/custom-editor-sample/package.json @@ -11,8 +11,8 @@ "Other" ], "activationEvents": [ - "onCustomEditor:catEdit.catScratch", - "onCustomEditor:catEdit.pawDraw" + "onCustomEditor:catCustoms.catScratch", + "onCustomEditor:catCustoms.pawDraw" ], "repository": { "type": "git", @@ -22,7 +22,7 @@ "contributes": { "customEditors": [ { - "viewType": "catEdit.catScratch", + "viewType": "catCustoms.catScratch", "displayName": "Cat Scratch", "selector": [ { @@ -31,7 +31,7 @@ ] }, { - "viewType": "catEdit.pawDraw", + "viewType": "catCustoms.pawDraw", "displayName": "Paw Draw", "selector": [ { diff --git a/custom-editor-sample/src/catScratchEditor.ts b/custom-editor-sample/src/catScratchEditor.ts index c68a47a7..d9a0b28b 100644 --- a/custom-editor-sample/src/catScratchEditor.ts +++ b/custom-editor-sample/src/catScratchEditor.ts @@ -22,7 +22,7 @@ export class CatScratchEditorProvider implements vscode.CustomTextEditorProvider new CatScratchEditorProvider(context)); } - private static readonly viewType = 'catEdit.catScratch'; + private static readonly viewType = 'catCustoms.catScratch'; private static readonly scratchCharacters = ['😸', '😹', '😺', '😻', '😼', '😽', '😾', '🙀', '😿', '🐱']; diff --git a/custom-editor-sample/src/pawDrawEditor.ts b/custom-editor-sample/src/pawDrawEditor.ts index d2a6b34b..7f73f8f3 100644 --- a/custom-editor-sample/src/pawDrawEditor.ts +++ b/custom-editor-sample/src/pawDrawEditor.ts @@ -54,7 +54,7 @@ export class PawDrawEditorProvider implements vscode.CustomEditorProvider