Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions vscode-extension/src/visualstudio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,12 @@ results.push(sessionPath);
* for `.vs/<solution>/copilot-chat/<hash>/sessions/<uuid>` paths.
* Scans: user home dir, and common named dev roots (C:\repos, C:\code, etc.).
* Depth-limited and skips known heavy directories to stay fast.
*
* Visual Studio only runs on Windows β€” skip entirely on macOS/Linux to avoid
* a deep recursive home-directory walk that causes the extension to hang.
*/
private _discoverFromFilesystem(seen: Set<string>, results: string[]): void {
if (os.platform() !== 'win32') { return; }
const home = os.homedir();
// Drive letter(s): default to C, also try D if it exists
const drives = ['C', 'D'];
Expand Down
Loading