diff --git a/package.json b/package.json index e3ecae9..fc5274f 100644 --- a/package.json +++ b/package.json @@ -280,6 +280,21 @@ } ] }, + "languages": [ + { + "id": "json", + "extensions": [ + ".jres", + ".g.jres" + ] + }, + { + "id": "html", + "extensions": [ + ".blocks" + ] + } + ], "configuration": { "title": "MakeCode Arcade", "properties": { diff --git a/src/web/assetEditor.ts b/src/web/assetEditor.ts index 639af9f..de7c636 100644 --- a/src/web/assetEditor.ts +++ b/src/web/assetEditor.ts @@ -284,6 +284,10 @@ async function saveFilesAsync(files: {[index: string]: string}) { await writeFileAsync("./pxt.json", JSON.stringify(parsed, null, 4), "utf8"); await syncJResAsync(); + + if (didChangeConfig) { + await vscode.commands.executeCommand("workbench.files.action.refreshFilesExplorer"); + } } /**