Skip to content

Using applyEdit with replaceCellMetadata or replaceCellOutput fails with no output #105624

@colombod

Description

@colombod

@jrieken @roblourens

  • VSCode Version: 1.49.0-insider (user setup)
  • OS Version: Win 10.0.19041

using the api

         const cellIndex = document.cells.findIndex(c => c === cell);
         if (cellIndex >= 0) {
             const edit = new vscode.WorkspaceEdit();
             edit.replaceCellMetadata(document.uri, cellIndex, metadata);
             vscode.workspace.applyEdit(edit);
         }

doesn't update after first usage

Metadata

Metadata

Assignees

Labels

author-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugnotebookverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions