Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Tabular Data Viewer extension api for other extensions to load datasets in our Table View via standard vscode commands api #46

Open
RandomFractals opened this issue Dec 28, 2021 · 0 comments
Labels

Comments

@RandomFractals
Copy link
Owner

RandomFractals commented Dec 28, 2021

so that other extension authors can use table view for their data display.

Example:

const rows = await db.query(statement);
vscode.commands.executeCommand(`tabular.data.viewTable`, rows);

This tabular data viewer api should povide a simple load/add data and filter methods for other 3rd party extensions that have query panels or get their data in other ways ...

query-example-UI

Most likely how we'll add rapidsai cuDF data integration for their large data toolkit described in #6.

See example in vscode docs for setting up public api exposed by an extension via its activation method:

https://code.visualstudio.com/api/references/vscode-api#extensions

@RandomFractals RandomFractals changed the title Add tabular data view extension api to load datasets via vscode command api Expose Tabular Data Viewer extension api for other extensions to load datasets in our Table View via standard vscode commands api Dec 28, 2021
@RandomFractals RandomFractals added the data Data task label Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant