Skip to content

Commit ead00ee

Browse files
committed
Address comments
1 parent 52f03e1 commit ead00ee

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/commands/captureDiagnostics.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function captureDiagnostics(
4343
await fs.mkdir(diagnosticsDir);
4444
await writeLogFile(diagnosticsDir, "extension-logs.txt", extensionLogs(ctx));
4545
await writeLogFile(diagnosticsDir, "settings.txt", settingsLogs(ctx));
46-
await writeLogFile(diagnosticsDir, "diagnostics.txt", diagnosticLogs());
46+
await writeLogFile(diagnosticsDir, "source-code-diagnostics.txt", diagnosticLogs());
4747

4848
if (captureMode === "Full") {
4949
// The `sourcekit-lsp diagnose` command is only available in 6.0 and higher.
@@ -90,7 +90,7 @@ async function captureDiagnosticsMode(
9090
const minimalButton = "Capture Minimal Diagnostics";
9191
const buttons = allowMinimalCapture ? [fullButton, minimalButton] : [fullButton];
9292
const fullCaptureResult = await vscode.window.showInformationMessage(
93-
`A Diagnostic Bundle collects information that helps the developers of the VS Code Swift extension diagnose and fix issues.
93+
`A Diagnostic Bundle collects information that helps the developers of the Swift for VS Code extension diagnose and fix issues.
9494
9595
This information contains:
9696
- Extension logs
@@ -100,7 +100,9 @@ This information contains:
100100
- If possible, a minimized project that caused SourceKit to crash
101101
- If possible, a minimized project that caused the Swift compiler to crash
102102
103-
Please attach this bundle to GitHub issues.`,
103+
All information is collected locally and you can inspect the diagnose bundle before sharing it with developers of the Swift for VS Code extension.
104+
105+
Please file an issue with a description of the problem you are seeing at https://github.com/swiftlang/vscode-swift, and attach this diagnose bundle.`,
104106
{
105107
modal: true,
106108
detail: allowMinimalCapture

0 commit comments

Comments
 (0)