585
586
if (isAbsolute(configuredLocation)) {
588
>
const remoteAuthority = this.environmentService.remoteAuthority;
589
>
if (remoteAuthority) {
590
// if the location is absolute and we are in a remote environment,
591
// we need to convert it to a file URI with the remote authority
592
uri = uri.with({ scheme: Schemas.vscodeRemote, authority: remoteAuthority });
593
}
595
>
seen.add(uri);
596
>
const { searchRoot, filePattern } = resolveSearchLocation(type, uri);
597
>
result.push({ uri, searchRoot: searchRoot, filePattern, source: sourceFolder.source, storage: sourceFolder.storage, displayPath: configuredLocation, isDefault });
598
>
}
599
} else {
600
for (const folder of rootFolders) {