codepod-io / codepod

Codepod IDE: Scalable Interactive Coding
https://codepod.io
MIT License
74 stars 15 forks source link

Codepod as a VSCode plugin? #310

Open kolibril13 opened 1 year ago

kolibril13 commented 1 year ago

The amazing react based whiteboard https://www.tldraw.com/ recently published an extension for VS Code: https://marketplace.visualstudio.com/items?itemName=tldraw-org.tldraw-vscode

Would something like this also be possible for Codepod?

This would allow using VS Code IDE features like version control, keyboard shortcuts, GitHub copilot, easy installation via extension marketplace, easy switching to other files and simple selection of the juypter kernel.

lihebi commented 1 year ago

Thanks for the suggestion, Hendrik. We have been thinking about the CodePod-as-a-VSCode-plugin idea for a long time.

The main issue is that we're using a database as the backend and lack a file-based backend. It doesn't sound fun and easy to maintain multiple backends, nor do we have the bandwidth.

We choose to use a database because it is more scalable and performant to save changes to individual pods than saving big .ipynb files. Also, it is more straightforward to implement team collaboration features (such as collaborative editing, commenting, and fine-grained access control) with a database.

As for the features provided by VSCode, we actually need to work out a tailored version that suits our hierarchy of pods (and we are working on it). For example,