Giter VIP home page Giter VIP logo

Comments (7)

brettcannon avatar brettcannon commented on May 15, 2024

FYI there is a way to turn off the syntax errors (the docs are in the process of being written and I'm pressed for time, else I would look it up for you).

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on May 15, 2024

Moving back to new issues to triage.
We can contribute to pylance & jedi or just swallow these messages from the middle man.

from vscode-jupyter.

rben01 avatar rben01 commented on May 15, 2024

I think this can be closed, as it looks like the python extension now supports this via comments that begin with #!, e.g.,

#! %matplotlib inline

EDIT: I think #3263 contains more details.

from vscode-jupyter.

rebornix avatar rebornix commented on May 15, 2024

I wonder if we should filter out these set of errors in the notebook language client middleware, @rchiodo do you think that's the right layer?

from vscode-jupyter.

rchiodo avatar rchiodo commented on May 15, 2024

@rebornix, yes I think so. I believe we have another issue we're we recommended just that:

#6635

from vscode-jupyter.

rchiodo avatar rchiodo commented on May 15, 2024

Sorry closed prematurely. This issue is I believe about magics in python files, not notebooks. Python files would not be handled by the middleware piece we have. Although maybe we'd do something similar.

from vscode-jupyter.

rchiodo avatar rchiodo commented on May 15, 2024

Closing for now as the workaround described above should work. Otherwise we'd have to special case python files with cell markers.

from vscode-jupyter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.