mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Update extension ids
This commit is contained in:
@ -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": [
|
||||
{
|
||||
|
||||
@ -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 = ['😸', '😹', '😺', '😻', '😼', '😽', '😾', '🙀', '😿', '🐱'];
|
||||
|
||||
|
||||
@ -54,7 +54,7 @@ export class PawDrawEditorProvider implements vscode.CustomEditorProvider<PawDra
|
||||
});
|
||||
}
|
||||
|
||||
public static readonly viewType = 'catEdit.pawDraw';
|
||||
public static readonly viewType = 'catCustoms.pawDraw';
|
||||
|
||||
/**
|
||||
* Tracks all known webviews
|
||||
|
||||
Reference in New Issue
Block a user