Zed Editor Integration
Zed is a high-performance, collaborative code editor. You can configure Zed to use GoingMerry for inline code completions and assistant panels.
1. Modifying Zed Settings
Open your Zed settings file (settings.json via Ctrl+, or Cmd+,) and append the local model config parameters under the assistant settings:
{
"assistant": {
"version": "2",
"provider": {
"name": "merry",
"low_latency_model": "gemma4",
"default_model": "gemma4",
"api_url": "http://localhost:11434"
}
}
}
2. Using Inline Assistant
- Chat Panel: Press
Ctrl+`` orCmd+`` to open the assistant panel. Select your local model from the model list and start writing. - Inline Refactoring: Highlight a block of code, press
Ctrl+EnterorCmd+Enter, write your prompt (e.g.refactor to async/await), and watch the local model update code inline.