njpipeorgan / wolfram-language-notebook

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

`wl` script support. #31

Open hongyi-zhao opened 2 years ago

hongyi-zhao commented 2 years ago

I'm very glad to know this wonderful vscode plugin here, but I've the following question:

Can this plugin support writing wl script, i.e., the file with .wl extension, directly in vscode? I've noticed that the official vscode-wolfram plugin has this feature.

Regards, HZ

asukaminato0721 commented 2 years ago

you could check the https://github.com/kenkangxgwe/lsp-wl/tree/develop.

hongyi-zhao commented 2 years ago

Do you mean the following ugly formatted style represented there?

image

asukaminato0721 commented 2 years ago

@hongyi-zhao no, it's just a lsp. You could run script with something like code-runner. https://web.archive.org/web/20220418065125/https://gitee.com/asdasd1dsadsa/ZhiHu-asdasd1dsadsa/blob/master/Article/%E4%B8%BAWolframEngine%E9%85%8D%E7%BD%AEVSCode%EF%BC%88Windows%EF%BC%89.md gitee sucks.

hongyi-zhao commented 2 years ago

Do you mean the output shown in the following panel:

image

Anyway, it seems that this feature is a far cry from notebook's Inline evaluation mode.

asukaminato0721 commented 2 years ago

y, I mean that.

from py's view: it's just .py vs .ipynb

lsp. -> .py Inline evaluation mode. -> .ipynb