This is a Visual Studio Code extension for working with LiteDB databases. It provides a graphical interface to open, browse, and query LiteDB files directly from VS Code.
- Open and explore LiteDB databases (*.db files)
- View collections and documents in a tree view
- Run SQL-like queries and view results
- Edit documents in a grid view
- IntelliSense for LiteDB queries
- Refresh collections and data
- Error handling and helpful messages
- Build the extension:
- Run
npm installto install dependencies - Run
npm run compileto build the TypeScript code
- Run
- Build the backend:
cd backend/LiteDbBridge- Run
dotnet buildto build the C# backend
- Launch the extension:
- Press
F5in VS Code to open a new Extension Development Host
- Press
src/— TypeScript source code for the extensionbackend/LiteDbBridge/— C# backend for database operationsmedia/— HTML files for result and grid viewsthemes/— VS Code theme filesunitTest/— Test files for grammar and features
- To test grammar:
npx vscode-tmgrammar-test -g ./litedb.tmLanguage.json ./unitTest/grammar.test.litedb - To package the extension:
npx vsce package
Pull requests and issues are welcome! Please open an issue for bugs or feature requests.
This project is licensed under the MIT License.



