We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b475b commit b1ffd4aCopy full SHA for b1ffd4a
src/extension.ts
@@ -586,6 +586,15 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
586
},
587
})
588
: null,
589
+ packageJson.enableProposedApi && typeof vscode.workspace.registerResourceLabelFormatter === "function"
590
+ ? vscode.workspace.registerResourceLabelFormatter({
591
+ scheme: OBJECTSCRIPT_FILE_SCHEMA,
592
+ formatting: {
593
+ label: "${path} (read-only)",
594
+ separator: "/",
595
+ },
596
+ })
597
+ : null,
598
].filter(notNull);
599
600
if (proposed.length > 0) {
0 commit comments