Skip to content

Commit aa4b4d9

Browse files
committed
Added changelog + Enhanced logging info message
1 parent 8ea908d commit aa4b4d9

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Changed
6+
7+
- Always enable verbose (`-v`) flag when a log directory is configured (`coder.proxyLogDir`).
8+
59
## [1.10.1](https://github.com/coder/vscode-coder/releases/tag/v1.10.1) 2025-08-13
610

711
### Fixed

src/commands.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,19 @@ export class Commands {
321321
*/
322322
public async viewLogs(): Promise<void> {
323323
if (!this.workspaceLogPath) {
324-
vscode.window.showInformationMessage(
325-
"No logs available. Make sure to set coder.proxyLogDirectory to get logs.",
326-
this.workspaceLogPath || "<unset>",
327-
);
324+
vscode.window
325+
.showInformationMessage(
326+
"No logs available. Make sure to set coder.proxyLogDirectory to get logs.",
327+
"Open Settings",
328+
)
329+
.then((action) => {
330+
if (action === "Open Settings") {
331+
vscode.commands.executeCommand(
332+
"workbench.action.openSettings",
333+
"coder.proxyLogDirectory",
334+
);
335+
}
336+
});
328337
return;
329338
}
330339
const uri = vscode.Uri.file(this.workspaceLogPath);

0 commit comments

Comments
 (0)