njpipeorgan / wolfram-language-notebook

Notebook support for Wolfram Language in VS Code
Apache License 2.0
159 stars 11 forks source link

About importing .nb in VS Code #48

Open FlorentinJ opened 1 year ago

FlorentinJ commented 1 year ago

Hello, First of all thank you for your amazing work! This has recently turned into one of the main ingredient of my workflow. I can also see this becoming essential for students or amateurs, as no expensive mathematica license is required.

I was wondering if there was some some progress on this old issue of opening .nb directly in VS Code?

I often need to exchange notebooks with my collaborators, which led me to develop my own conversion script, available on my github. It is not very powerful, but sufficient for most of my cases (it only works as long as the formatting in the notebook is not too crazy).

The easiest way I discovered was to first convert the notebook to a .m file, which can be done either manually from the notebook itself, or using a rather ugly wolfram script. After that I just parse it in python.

I know absolutely nothing about VS Code extensions, do you think this could be included in some form?