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.
2 parents 6597a9d + b1ffd4a commit 3e51adcCopy full SHA for 3e51adc
src/extension.ts
@@ -587,6 +587,15 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
587
},
588
})
589
: null,
590
+ packageJson.enableProposedApi && typeof vscode.workspace.registerResourceLabelFormatter === "function"
591
+ ? vscode.workspace.registerResourceLabelFormatter({
592
+ scheme: OBJECTSCRIPT_FILE_SCHEMA,
593
+ formatting: {
594
+ label: "${path} (read-only)",
595
+ separator: "/",
596
+ },
597
+ })
598
+ : null,
599
].filter(notNull);
600
601
if (proposed.length > 0) {
0 commit comments