当面的人工智能 - Zed 博客

  • Released Edit Prediction: A few weeks ago, Zed released its native prediction mechanism Edit Prediction powered by Zeta.
  • Common Feedback: Many people love it as is, but a common feedback is that predicted text can be distracting.
  • Introduced Subtle Mode: To address this, Zed introduced subtle mode. In this mode, predicted text is hidden by default and only visible when holding a modifier key.
  • Setting up: Make sure Edit Prediction is properly configured. To turn on subtle mode, either add "edit_predictions": {"mode": "subtle"} to settings or use the UI in Zed v0.179.x (via the status bar menu).
  • Using Subtle Mode: In subtle mode, when Zeta makes a prediction, a small box appears below the cursor indicating the prediction direction and the required modifier key. Holding the modifier key (like alt/option on macOS) shows a flag indicating the buffer position. Hitting tab once shows the suggestion and again accepts it while preserving cursor position.
  • Keybinding Choice: The chosen keybinding for this interaction is based on the default mode of Edit Prediction when tab is bound to other actions.
  • Wrap Up: Zed aims to offer AI-assisted coding without breaking the editor groove. Edit Prediction's subtle mode is minimal, elegant, and helpful. Encourage users to try it and share their thoughts.
阅读 10
0 条评论