RandomFractals / vscode-data-table

Data Table 🈸 , Flat Data Grid 中 & Data Summary 🈷️ Renderers for VSCode Notebook 📓 Cell ⌗ Data Outputs
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-data-table
Apache License 2.0
26 stars 5 forks source link

Enable Data Table Renderers to work on github.dev and in the web version of vscode IDE #122

Closed RandomFractals closed 2 years ago

RandomFractals commented 2 years ago

see docs: https://code.visualstudio.com/api/extension-guides/web-extensions

& Microsoft VSCode Notebook Renderers that currently work in a browser:

https://github.com/microsoft/vscode-notebook-renderers

Current Pyolite notebook raw JSON data output due to lack of rich data table renderers in that vscode IDE context:

pyolite-nb-json-output

RandomFractals commented 2 years ago

Looks like this works after adding browser entry point to package.json & using https://github.com/microsoft/vscode-test-web to test data table renderers extension locally:

flat-data-grid-in-browser

RandomFractals commented 2 years ago

ok. that fixes web extension loading ...

show-running-extensions-web

RandomFractals commented 2 years ago

confirmed that those changes work in Code Spaces:

image

However, those sample notebook files are downloaded in vscode web editor on https://github.dev and https://vscode.dev because the constructed path of example notebooks is an http based Url, not a file in web IDE. So, vscode.open we use to load those example notebooks results in a file download and doesn't open it in vscode editor tab.

RandomFractals commented 2 years ago

released in v1.10: https://github.com/RandomFractals/vscode-data-table/releases/tag/v1.10.0