File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -568,6 +568,24 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
568
568
packageJson . enableProposedApi && typeof vscode . workspace . registerTextSearchProvider === "function"
569
569
? vscode . workspace . registerTextSearchProvider ( FILESYSTEM_READONLY_SCHEMA , new TextSearchProvider ( ) )
570
570
: null ,
571
+ packageJson . enableProposedApi && typeof vscode . workspace . registerResourceLabelFormatter === "function"
572
+ ? vscode . workspace . registerResourceLabelFormatter ( {
573
+ scheme : FILESYSTEM_SCHEMA ,
574
+ formatting : {
575
+ label : "${authority}:${path}" ,
576
+ separator : "/" ,
577
+ } ,
578
+ } )
579
+ : null ,
580
+ packageJson . enableProposedApi && typeof vscode . workspace . registerResourceLabelFormatter === "function"
581
+ ? vscode . workspace . registerResourceLabelFormatter ( {
582
+ scheme : FILESYSTEM_READONLY_SCHEMA ,
583
+ formatting : {
584
+ label : "${authority}:${path}" ,
585
+ separator : "/" ,
586
+ } ,
587
+ } )
588
+ : null ,
571
589
] . filter ( notNull ) ;
572
590
573
591
if ( proposed . length > 0 ) {
You can’t perform that action at this time.
0 commit comments