File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/PowerShellEditorServices/Workspace Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -264,10 +264,13 @@ internal static bool IsPathInMemory(string filePath)
264
264
// When viewing PowerShell files in the Git diff viewer, VS Code
265
265
// sends the contents of the file at HEAD with a URI that starts
266
266
// with 'inmemory'. Untitled files which have been marked of
267
- // type PowerShell have a path starting with 'untitled'.
267
+ // type PowerShell have a path starting with 'untitled'. Files
268
+ // opened from the find/replace view will be prefixed with
269
+ // 'private'.
268
270
return
269
271
filePath . StartsWith ( "inmemory" ) ||
270
- filePath . StartsWith ( "untitled" ) ;
272
+ filePath . StartsWith ( "untitled" ) ||
273
+ filePath . StartsWith ( "private" ) ;
271
274
}
272
275
273
276
private string GetBaseFilePath ( string filePath )
You can’t perform that action at this time.
0 commit comments