Looks like the Portal extension to VSCode is active on the https://code.visualstudio.com/docs/python/jupyter-support-py. For example, see the attached image to see what happens when a Python error occurs. Not sure whether that is desired or not. ๐ค
Ah, thatโs happening because portal is saying โI understand the vscode notebook error mime typeโ and vscode is handing that off to it. I should have thought about that before telling @djblue to just jump onto that mime type ๐
You can temporarily fix it yourself by clicking the โฆ next to it and selecting a different viewer
I mean it's technically correct, the best kind of correct ๐
Probably also prettier then the python error display ๐
The portal viewer does understand that mime type and does have reasonable behavior
@daslu is this a positive or a negative? I donโt know what this would usually look like, how large the overlap of python/clojure people is, and if changing the viewer yourself is too difficult for random users.
Thanks. I'm not sure. It is not so much of a problem, probably, I'll try to keep using it and see if anything important is lost.
I would be interested in supporting more mime types for notebooks to provide viewers for any notebook ๐ค
It might be interesting if portal supported stuff like portal/table.edn , portal/vega.edn
That way a notebook could choose to display stuff directly in a viewer without fiddling with metadata.
Not sure if it would ever be used, but maybe ๐
Yeah, I don't see why not ๐ค
But thereโs probably also better stuff to spend your time on ๐