diff --git a/src/features/RemoteFiles.ts b/src/features/RemoteFiles.ts index ff837fa5eb..39ab7bc3c2 100644 --- a/src/features/RemoteFiles.ts +++ b/src/features/RemoteFiles.ts @@ -58,8 +58,7 @@ export class RemoteFilesFeature implements IFeature { } private isDocumentRemote(doc: vscode.TextDocument) { - return doc.languageId === "powershell" && - doc.fileName.toLowerCase().startsWith(this.tempSessionPathPrefix); + return doc.fileName.toLowerCase().startsWith(this.tempSessionPathPrefix); } private closeRemoteFiles() {