Table of Contents

File Management

CodeDB manages files in a SQLite database, giving you the power of a relational database combined with a full code editor.

Creating Files

New File

Click the + button in the Explorer section header or press ⌘N.

Enter a file name with an appropriate extension. CodeDB automatically detects the language for syntax highlighting based on the extension:

Extension Language
.js JavaScript
.ts TypeScript
.py Python
.rs Rust
.go Go
.java Java
.swift Swift
.html HTML
.css CSS
.json JSON
.md Markdown
.sql SQL
.sh Shell
.csv CSV
.tsv TSV
.xml XML
.yaml / .yml YAML
.php PHP
.rb Ruby
.c / .cpp / .h C/C++

Bulk Create (Range)

Click the clipboard icon (📋) to create multiple numbered files at once. For example, creating chapter_1.md through chapter_10.md.

Bulk Create (List)

Click the notepad icon (📝) to create multiple files from a list of names, one per line.

Importing Files

Import Individual Files

Click the file icon (📄) in the Explorer header. A file picker dialog lets you select one or more files to import. Supported file types include all code files, CSV, TSV, and plain text up to 50 MB.

Import Folder

Click the folder icon (📂) to import an entire directory. CodeDB recursively imports all supported files, preserving folder structure in the file tree.

File Tree

The sidebar Explorer shows all files organized by folder path. Click any file to open it in the editor.

Editing Files

CodeDB uses the Monaco editor (the same editor that powers VS Code) for code editing. Features include:

Files are automatically saved to the database as you type.

Tabs

Open files appear as tabs above the editor. You can: