We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae6c8f2 commit 452b110Copy full SHA for 452b110
src/copilot/copilotHelper.ts
@@ -282,7 +282,7 @@ export namespace CopilotHelper {
282
): Promise<IResolveResult> {
283
const items: any[] = [];
284
285
- // Check if workspace folders exist
+ // Check if active editor exists
286
if (!activeEditor) {
287
return { items: [], emptyReason: EmptyReason.NoActiveEditor, itemCount: 0 };
288
}
@@ -302,7 +302,7 @@ export namespace CopilotHelper {
302
return { items: [], emptyReason: projectDependenciesResult.emptyReason, itemCount: 0 };
303
304
305
- // Check for cancellation after telemetry
+ // Check for cancellation after dependency resolution
306
checkCancellation(copilotCancel);
307
308
// Convert project dependencies to context items
0 commit comments