codecamp

Cursor @Chat:将聊天消息转化为高效上下文

此功能目前仅适用于 Cmd K。

@Chat

你可以在 Cmd K 中使用 ​@Chat​ 将当前的聊天消息添加为上下文。 当你想要将与 AI 的对话应用到编辑或生成代码时,这个功能特别有用。

Cursor @Chat


Cursor @Web:智能网络搜索增强AI聊天上下文
Cursor @Definitions:快速添加附近定义为上下文
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }