Settings Reference
Complete guide to configuring IfAI.
Opening Settings
- Keyboard:
Cmd+,(Mac) orCtrl+,(Windows/Linux) - Menu: Gear icon in bottom left
- Command Palette:
Cmd+Shift+P> "Open Settings"
AI Provider Settings
Provider Selection
Configure which AI service to use:
| Provider | Best For | Pricing |
|---|---|---|
| OpenAI | Complex reasoning, creative tasks | Pay-per-use |
| Anthropic | Long conversations, nuanced explanations | Pay-per-use |
| Zhipu | Chinese language support | Pay-per-use |
| DeepSeek | Code generation, technical tasks | Pay-per-use |
| Ollama | Privacy, cost savings | Free (local) |
OpenAI Configuration
- API Key: Get from platform.openai.com
- Model Selection:
gpt-4o- Best qualitygpt-4o-mini- Faster, cheapergpt-3.5-turbo- Legacy support
Anthropic Configuration
- API Key: Get from console.anthropic.com
- Model Selection:
claude-3-5-sonnet-20241022- Best for codingclaude-3-opus-20240229- Most capable
Zhipu Configuration
- API Key: Get from open.bigmodel.cn
- Model Selection:
glm-4- Latest modelglm-4-flash- Faster responses
Ollama Configuration
- Ollama URL: Default
http://localhost:11434 - Model Selection:
qwen2.5-coder:7b- Coding specialistllama3.2- General purposedeepseek-coder- Code generation
Editor Settings
Appearance
| Setting | Options | Description |
|---|---|---|
| Theme | Light, Dark, Auto | Editor color theme |
| Font Family | System fonts | Editor font |
| Font Size | 12-24px | Text size |
| Line Height | 1.0-2.0 | Line spacing |
| Font Ligatures | On/Off | Character combinations |
Code Editing
| Setting | Options | Description |
|---|---|---|
| Tab Size | 2, 4, 8 | Spaces per tab |
| Insert Spaces | On/Off | Use spaces instead of tabs |
| Word Wrap | On, Off | Wrap long lines |
| Minimap | On, Off | Code overview on right |
| Line Numbers | On, Off | Show line numbers |
| Bracket Pairs | On, Off | Colorize matching brackets |
Auto-Save
| Setting | Options | Description |
|---|---|---|
| Auto Save | On, Off, After Delay | When to save |
| Auto Save Delay | 100-10000ms | Delay before save |
File Settings
File Associations
Configure how different file types are handled:
json
{
"*.ts": "typescript",
"*.py": "python",
"*.rs": "rust"
}Excluded Files
Files to hide from file tree:
json
{
"node_modules": true,
".git": true,
"*.log": true
}Git Settings
Git Integration
| Setting | Options | Description |
|---|---|---|
| Enable Git | On, Off | Show git status |
| Auto Refresh | On, Off | Auto-refresh git status |
| Decorations | On, Off | Show git decorators |
Git Configuration
- Git Path: Auto-detected or manual
- User Name: Your git username
- User Email: Your git email
Terminal Settings
Terminal Appearance
| Setting | Options | Description |
|---|---|---|
| Font Size | 12-24px | Terminal text size |
| Line Height | 1.0-2.0 | Terminal line spacing |
| Cursor Style | Block, Line, Underline | Cursor appearance |
Shell Configuration
macOS:
bash
# Default: /bin/zsh
# Or custom: /bin/bash, /usr/local/bin/fishWindows:
powershell
# Default: PowerShell
# Or: WSL, Git Bash, CMDLinux:
bash
# Default: /bin/bash
# Or: /usr/bin/zsh, /usr/bin/fishKeybinding Settings
Keybinding Schemes
| Scheme | Description |
|---|---|
| VS Code | Default, familiar to most |
| IntelliJ | For IntelliJ IDEA users |
| Vim | Vim keybindings |
Custom Keybindings
Edit keybindings JSON:
json
[
{
"key": "cmd+k",
"command": "ai.chat.open"
},
{
"key": "cmd+shift+k",
"command": "composer.open"
}
]Advanced Settings
Performance
| Setting | Options | Description |
|---|---|---|
| Telemetry | On, Off | Send usage data |
| Update Channel | Stable, Beta, Nightly | Update frequency |
Experimental
| Feature | Status | Description |
|---|---|---|
| New AI Features | Alpha | Early AI features |
| Advanced Symbols | Beta | Enhanced symbol indexing |
Import/Export Settings
Export Settings
- Settings > ... > Export Settings
- Save to file
Import Settings
- Settings > ... > Import Settings
- Select settings file
Reset Settings
- Settings > ... > Reset to Defaults
- Confirm reset
Configuration File
Settings are stored at:
macOS:
~/Library/Application Support/IfAI/settings.jsonWindows:
%APPDATA%\IfAI\settings.jsonLinux:
~/.config/IfAI/settings.jsonNext Steps
- Basic Usage - Core features
- Local LLM Setup - Local models
- Keyboard Shortcuts - Customize keybindings