question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate off of the vscode.proposed.notebookDeprecated API

See original GitHub issue

From https://github.com/microsoft/vscode/issues/146831

Opening to track migrating off of VS Code’s notebook.deprecate api proposal. This proposal is currently not on track for finalization

The suggested fix in this case is to move the output id into the custom metadata: https://github.com/microsoft/vscode/issues/146831#issuecomment-1090265265

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
rebornixcommented, Jun 16, 2022

When I was building my Better Error Output renderer, a feature I tried to implement is when the output says missing module xyz, and show a link, which when clicked will insert a cell above the target cell with content %pip install xyz. There isn’t a way for us to locate the output and its containing cell in the extension side, if there isn’t an output id.

1reaction
rebornixcommented, Jun 20, 2022

@rchiodo the outputs are generated by Jupyter and as a third party extension, without requesting more information from Jupyter ext, I couldn’t really build the link with necessary info. I would either fetch the info during rendering, or delegate through webview communications. Either way we would need some sort of API in order to know which cell the output is from.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Proposed API - Visual Studio Code
Proposed APIs are a set of unstable APIs that are implemented in VS Code but not exposed to the public as stable APIs...
Read more >
VS Code API | Visual Studio Code Extension API
VS Code API is a set of JavaScript APIs that you can invoke in your Visual Studio Code extension. This page lists all...
Read more >
Extension API - Visual Studio Code
Visual Studio Code has a rich extension API. Learn how to create your own extensions for VS Code.
Read more >
VS Code Sandboxing
Migrating Visual Studio Code to Electron process sandboxing. ... though we planned for this work in early 2020, it is unfair to leave...
Read more >
Notebook API | Visual Studio Code Extension API
The Notebook API allows Visual Studio Code extensions to open files as notebooks, ... const intervals = new Map(); export const activate: ActivationFunction ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found