Getting Started
Learn the basics of using voidraft and create your first document.
The Editor Interface
When you open voidraft, you'll see:
- Main Editor: The central area where you write and edit
- Toolbar: Quick access to common actions
- Status Bar: Shows current block language and other info
Creating Code Blocks
voidraft uses a block-based editing system. Each block can have a different language:
- Press
Ctrl+Enterto create a new block - Type
∞∞∞followed by a language name (e.g.,∞∞∞javascript) - Start coding in that block
Supported Languages
voidraft supports 30+ programming languages including:
- JavaScript, TypeScript
- Python, Go, Rust
- HTML, CSS, Sass
- SQL, YAML, JSON
- And many more...
Basic Operations
Navigation
Ctrl+Up/Down: Move between blocksCtrl+Home/End: Jump to first/last blockCtrl+F: Search within document
Editing
Ctrl+D: Duplicate current lineCtrl+/: Toggle commentAlt+Up/Down: Move line up/downCtrl+Shift+F: Format code (if language supports Prettier)
Block Management
Ctrl+Enter: Create new blockCtrl+Shift+Enter: Create block aboveAlt+Delete: Delete current block
Using the HTTP Client
voidraft includes a built-in HTTP client for testing APIs:
- Create a block with HTTP language
- Write your HTTP request:
http
POST "https://api.example.com/users" {
content-type: "application/json"
@json {
name: "John Doe",
email: "john@example.com"
}
}- Click the run button to execute the request
- View the response inline
Multi-Window Support
Work on multiple documents simultaneously:
- Go to
File > New Window(orCtrl+Shift+N) - Each window is independent
- Changes are saved automatically
Customizing Themes
Personalize your editor:
- Open Settings (
Ctrl+,) - Go to Appearance
- Choose a theme or create your own
- Customize colors to your preference
Keyboard Shortcuts
Learn essential shortcuts:
| Action | Shortcut |
|---|---|
| New Window | Ctrl+Shift+N |
| Search | Ctrl+F |
| Replace | Ctrl+H |
| Format Code | Ctrl+Shift+F |
| Toggle Theme | Ctrl+Shift+T |
| Command Palette | Ctrl+Shift+P |
Next Steps
Now that you know the basics:
- Explore Features in detail