Skip to content

Commit 92c2bd0

Browse files
committed
use interactive name as saved ipynb name
1 parent c72605e commit 92c2bd0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/vs/workbench/contrib/interactive/browser/interactive.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ registerAction2(class extends Action2 {
396396
counter++;
397397
} while (existingNotebookDocument.has(notebookUri.toString()));
398398

399-
logService.info('Open new interactive window:', notebookUri.toString(), inputUri.toString());
399+
logService.debug('Open new interactive window:', notebookUri.toString(), inputUri.toString());
400400

401401
if (id) {
402402
const allKernels = kernelService.getMatchingKernel({ uri: notebookUri, viewType: 'interactive' }).all;

src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ export class InteractiveEditorInput extends EditorInput implements ICompositeNot
187187
return undefined;
188188
}
189189

190+
const filename = this.getName() + '.ipynb';
190191
const pathCandidate = joinPath(await this._fileDialogService.defaultFilePath(), 'scratch.ipynb');
191192

192193
const target = await this._fileDialogService.pickFileToSave(pathCandidate, options?.availableFileSystems);

0 commit comments

Comments
 (0)