yunabe / tslab

Interactive JavaScript and TypeScript programming with Jupyter
Apache License 2.0
731 stars 45 forks source link

Running notebooks from VSCode #75

Open aecorredor opened 1 year ago

aecorredor commented 1 year ago

Problem

I can't run notebooks from VSCode, even though I have already installed all the required dependencies.

I don't have this problem when running the notebooks directly from Jupyter Lab.

The main issue I see is that VSCode can't start the TypeScript kernel.

Has anyone been able to find a workaround to get tslab working inside VSCode? As a side note, imports also don't get correctly detected by VSCode Intellisense, but that problem has already been discussed in other issues: https://github.com/yunabe/tslab/issues/56

ApolloTang commented 1 year ago

Hi @aecorredor:

I do have some success running the typescript kernel in VScode; here is my repo: https://github.com/ApolloTang/mynote--typescript

Although I encountered some problems, I did not have any problem installing the kernel by following instruction described.