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.

`notebookScope` not recognized in VS Code

See original GitHub issue

Describe the bug

notebookScope in javascript cells isn’t recognized anymore inside VS Code. (*.dib and *.ipynb)

Error: notebookScope is not defined

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ): 1.0.260601+9d1ecd3c06ba93e59bfef3842d2660c08d9e2ce5 Build date: 2021-12-09T16:51:18.4618021Z

  • OS
    • Windows 11
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Firefox
    • Safari
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

Screenshots

If applicable, add screenshots to help explain your problem.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fradavcommented, Dec 16, 2021

My PR to the COVID notebook there : https://github.com/dotnet/interactive/pull/1823 It’s a required change in the way kernels communicate. But my issue there is that without the notebookScope, we lose the ability to have functions “shared” across cells to access console.

0reactions
colombodcommented, Feb 22, 2022

Closing this but since we have open a more specific issue #1906

Read more comments on GitHub >

github_iconTop Results From Across the Web

jupyter server : not started, no kernel in vs code
For me the problem is that VSCode can't find the kernel, even in using the select interpreter option. First step is not necessary,...
Read more >
Untitled
Dotnet is not recognized vs code Simple dotnetcore app not running in VS Code - Stack Overflow WebPurpose. Install and run the .NET...
Read more >
Working with Jupyter Notebooks in Visual Studio Code
If you attempt to open a notebook when VS Code is in an untrusted workspace running Restricted Mode, you will not be able...
Read more >
Troubleshoot Terminal launch failures
Some terminal launch failures may be due to your shell installation and are not specific to VS Code. The exit codes displayed come...
Read more >
The Visual Studio Code command-line interface
To do this, from an open terminal or command prompt, navigate to your project folder and ... 'code' is not recognized as an...
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