跳至主內容

0.48.x · 更新日誌

Chat 索引分頁、自訂模式與更快的索引處理

此版本推出可同時進行多段對話的 Chat 索引分頁、重新設計的模式系統(支援自訂模式),並提升成本可視性、索引處理效能與 MCP 的可靠性。另外,當 Chat 完成時會播放音效通知。

內建模式與自訂模式(Beta)

Agent 與 Ask 是 Cursor 內建的模式,現在也可新增自訂模式。我們也將「Edit」更名為「Manual」,以更貼切地反映其實際行為。

Ask 模式現在預設可使用所有搜尋工具,因此已移除 `@Codebase` 工具。需要時它會自動搜尋程式碼庫。若你想強制進行搜尋,只要以自然語言請 Cursor「搜尋程式碼庫」即可。你可以在模式選單中停用 Ask 的搜尋功能,如此一來 Ask 只會看到你提供的脈絡。

深入了解AgentAsk

A screenshot of the Cursor editor interface showing a dropdown menu under the "Plan" mode selection. The menu includes several AI assistant modes: Agent, Ask, Manual, Plan (currently selected), Teach, and Yolo. Each mode has a corresponding keyboard shortcut. The interface is dark-themed, and the selected model is "claude-3.7-sonnet."


自訂模式(測試版)可讓你以工具與提示詞組合出符合你工作流程的新模式。由於自訂模式可以設定自訂按鍵綁定,⌘I 將預設為 Agent 模式,而 ⌘L 則會切換側邊窗格。若你解除綁定 ⌘I,它也會改為切換側邊窗格。自訂模式目前為測試版,你可以在 設定 → 功能 → Chat → 自訂模式 中啟用。

你也可以在「設定」(設定 → 功能 → Chat → 預設 Chat 模式)中將預設模式設為你的其中一個模式,或設為你最近使用的模式。

進一步了解自訂模式

A screenshot of the Cursor editor interface showing the settings for a custom AI assistant mode named "Agent." The settings panel includes options to name the mode, set the model (currently "claude-3.7-sonnet"), configure keybindings, and enable tools such as Search, Edit, and Run. Toggles for "Auto-apply edits" and "Auto-fix errors" are enabled, while "Auto-run" is disabled. There is also a field for adding custom instructions and a button labeled "Delete mode" at the bottom. The interface has a dark theme.

Chat 索引分頁

在 Chat 中建立新的索引分頁(⌘T),即可同時進行多個並行對話。你也可以按住 Option 並點擊「+」按鈕來建立新的索引分頁。Cmd+N 仍會在目前的索引分頁中建立新的 Chat。

當某個分頁在等待你的輸入時,你會在該分頁上看到一個橘色圓點。

更快的索引處理

我們大幅提升了團隊內相似程式碼庫的索引處理效能:當其中一個副本完成完整索引後,後續大型 repo 的複製本,其初始索引時間將大幅縮短。以 Cursor 的程式碼庫為例,現在索引處理可在一分鐘內完成,先前約需 20 分鐘。

聲音通知(Beta)

當 Chat 準備好供審閱時,Cursor 現可播放音效。請前往「設定 → Features → Chat → 完成時播放音效」啟用此功能。

依用量計費的成本可見性

針對依用量計費的模型,您現在可以在歷史記錄中查看每個 Chat 的成本與明細。

A screenshot of the Cursor editor interface showing the chat title "Improving Description Flow" with a dropdown displaying recent chat history. The dropdown includes entries like "Fixing Broken Links in Documentation," "Enhancing Content Cohesion," and others. The currently selected chat shows a cost breakdown tooltip indicating it used "2 gpt-4.5-preview" requests at $2.00 each, totaling $4.00. Icons for editing, duplicating, and viewing cost are visible next to the chat title. The interface uses a dark theme.

全新上手體驗

我們推出了更簡便的上手流程,協助你快速開始使用 Cursor。系統會引導你匯入設定、選擇主題、設定快捷鍵,以及其他偏好。

A screenshot of the Cursor editor's onboarding interface titled "Quick Start." It prompts the user to choose keybindings from options like VS Code, Vim, Emacs, and Sublime Text (with VS Code selected). Three features are listed: "Agent" for planning and building, "Cursor Tab" for predicting next moves, and "Cmd-K" for editing code with AI. On the right, a sample message says, “Add a Settings page with what you find in src/ui/components,” using the "Agent" mode. At the bottom center, there is a blue "Continue" button. The interface has a dark theme with a macOS-style window.