Add UriHandler to open remote tabular data sources from vscode:// Urls in a browser
RandomFractals opened this issue · comments
Taras Novak commented
when remote data loading is implemented in #53
UriHandler docs: https://code.visualstudio.com/api/references/vscode-api#window.registerUriHandler
Sample repo: https://github.com/microsoft/vscode-extension-samples/tree/main/uri-handler-sample
Taras Novak commented
Supported Tabular Data Viewer vscode://
Url commands that can be executed directly from a browser via system-wide Urls:
viewSettings
: vscode://RandomFractalsInc.tabular-data-viewer/viewSettingsopenDataFile
prompt: vscode://RandomFractalsInc.tabular-data-viewer/openDataFileviewTable
with data file Url fragment: vscode://RandomFractalsInc.tabular-data-viewer/viewTable#https://raw.githubusercontent.com/RandomFractals/tabular-data-viewer/main/data/world-cities.csvviewTable
withdataUrl
query param: vscode://RandomFractalsInc.tabular-data-viewer/viewTable?dataUrl=https://raw.githubusercontent.com/RandomFractals/tabular-data-viewer/main/data/world-cities.csv