New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution API #116416
Merged
Merged
Execution API #116416
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1251a3b
Remove NotebookEditorEdit API
roblourens e3d5b40
Execution API notes
roblourens e7b47bd
dts updates
roblourens 8267ee6
Execution API updates
roblourens fdddfef
Move executionOrder, remove runStates from metadata
roblourens 5d4be76
Begin implementing NotebookCellExecutionTask
roblourens 062aa37
Implement cancellation for new cell execute api
roblourens 69e37ee
Implement NotebookCellOutputEdit
roblourens 14bf6da
Queue edits, update UI for Pending
roblourens 03f8cc9
Handle cell execution metadata split, not all metadata exposed to ext…
roblourens 556287e
Tweak "pending" ui
roblourens 055de55
Remove test deleted upstream
roblourens 345609d
Remove WorkspaceEdit-like API
roblourens 2f29777
Tooltip for Pending state
roblourens 98de6a9
Implement partial metadata edits
roblourens b1b32a3
Allow cancelling Pending cell
roblourens 6f06f83
Implement previousResult
roblourens 77e11c8
Fix smoke test extension
roblourens 417faf9
Restore run state when clause
roblourens 9a307fb
Clear last run info on end, if not set
roblourens 8f7d01b
Clear executionOrder when task is created
roblourens f672255
Don't hold on to stale cell index
roblourens 29aabe4
Tweaks to output API, this commit has some TODOs
roblourens 8a038f6
Tweaks to edits
roblourens 2feb770
Tweak
roblourens de75356
Implement global cancel for kernels with interrupt
roblourens 7f0b512
Remove document-level runState metadata internally
roblourens 28535cc
API jsdocs
roblourens c982571
Tweaks
roblourens 7024a90
Fix test
roblourens d43faba
Revert "Remove NotebookEditorEdit API"
roblourens 2cb1ba8
Fix test for NotebookEditorEdit
roblourens d49b868
previousResult => latestExecutionSummary
roblourens b105656
interrupt should not take cell range
roblourens File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
455 changes: 353 additions & 102 deletions
455
extensions/vscode-api-tests/src/singlefolder-tests/notebook.test.ts
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, we're planning on using this in another extension (Gather).