DonJayamanne / typescript-notebook

Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc
https://marketplace.visualstudio.com/items?itemName=donjayamanne.typescript-notebook
MIT License
904 stars 39 forks source link

understanding extension scope #73

Open ahmad-ali14 opened 2 years ago

ahmad-ali14 commented 2 years ago

If I have two notes open (although totally saved and unrelated), I get variable name clashes.

Like, I can not use the same variable name in 2 separate notes (at least when they are open).

Also, thinking of converting the .nnb file to an .md file, but couldn't find a way to do that.

DonJayamanne commented 2 years ago

I get variable name clashes. Like, I can not use the same variable name in 2 separate notes (at least when they are open).

Please could you provide a sample and the error messages you get (screenshots)

DonJayamanne commented 2 years ago

the .nnb file to an .md file, but couldn't find a way to do that.

Please could you create a seprate issue for this feature request, this is currently not supported

ahmad-ali14 commented 2 years ago

@DonJayamanne, here is an example, both notes are saved to the disk and opened side by side.

when I close one it is okay, but as soon as the other opened, it start complaining

Screen Shot 2022-08-24 at 19 43 55