Skip to content

Commit

Permalink
Change naming convention for output channels
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Sep 30, 2024
1 parent 8ff2412 commit a3c358d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extensions/jupyter-adapter/src/JupyterKernel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,14 +321,14 @@ export class JupyterKernel extends EventEmitter implements vscode.Disposable {
if (!this._consoleChannel) {
this._consoleChannel = vscode.window.createOutputChannel(
this._notebookUri ?
`Notebook: ${path.basename(this._notebookUri.path)} (${this._spec.display_name})` :
`Console: ${this._spec.display_name}`,
`${this._spec.display_name}: Notebook: (${path.basename(this._notebookUri.path)})` :
`${this._spec.display_name}: Console`,
{ log: true });
}

if (!this._kernelChannel) {
this._kernelChannel = positron.window.createRawLogOutputChannel(
`Kernel: ${this._spec.display_name}`);
`${this._spec.display_name}: Kernel`);
}

// Bind to the Jupyter session
Expand Down

0 comments on commit a3c358d

Please sign in to comment.