Cursor 的 Composer 特性主要包括以下方面:
默认情况下,Cursor 会尝试查找不同类型的有用信息来改进代码生成,除了用户手动包含的@符号,还可能包括相关文件、最近查看的文件等。收集后,Cursor 会按与编辑/生成的相关性对上下文项进行排名,并将排名靠前的项目保留在大型语言模型的上下文中。
Cursor Tab is our native autocomplete feature.It’s a more powerful Copilot that suggests entire diffs with especially good memory.Cursor Tab是我们的原生自动完成功能。它是一个更强大的Copilot,可以建议具有特别好内存的整个差异。Powered by a custom model,Cursor Tab can:Cursor Tab由自定义模型提供支持,可以:Suggest edits around your cursor,not just insertions of additional code.围绕光标建议编辑,而不仅仅是插入其他代码。Modify multiple lines at once.一次修改多行。Make suggestions based on your recent changes and linter errors.根据您最近的更改和linter错误提出建议。Free users receive 2000 suggestions at no cost.Pro and Business plans recieve unlimited suggestions.
Already,in Cursor,hours of hunting for the right primitives are being replaced by instant answers.Mechanical refactors are being reduced to single"tabs."Terse directives are getting expanded into working source.And thousand-line changes are rippling to life in seconds.Looking forward,[much](https://cursor.com/blog/problems-2023)[more](https://cursor.com/blog/problems-2024)is yet to come.在Cursor中,数小时寻找正确的原语已经被即时答案所取代。机械重构正在简化为单个“选项卡”。简洁指令正在扩展到工作源代码。千行变化在几秒钟内涟漪般栩栩如生。展望[未来,](https://cursor.com/blog/problems-2023)[还有更多](https://cursor.com/blog/problems-2024)的事情要做。Knowing there's a long road ahead of us,today we're announcing a few milestones on our progress over the last year.我们知道前路漫漫,今天我们宣布我们在过去一年中取得的进展的一些里程碑。Cursor has become widely recognized as the best way to code with AI.We've grown to over 30,000 customers,including some of the world's most innovative startups,storied research labs,and valuable enterprises.Cursor已被广泛认为是使用AI进行编码的最佳方式。我们已经发展到超过30,000名客户,其中包括一些世界上最具创新性的初创公司、传奇的研究实验室和有价值的企业。
By default,Cursor will try to find different kinds of useful information to improve code generation,in addition to the manual[@ symbols](https://docs.cursor.com/context/@-symbols/@-files)you include.默认情况下,除了您包含的手动[@符号](https://docs.cursor.com/context/@-symbols/@-files)之外,Cursor还将尝试查找不同类型的有用信息来改进代码生成。Additional context may include related files,recently viewed files,and more.After gathering,Cursor ranks the context items by relevance to your edit/generation and keeps the top items in context for the large language model.其他上下文可能包括相关文件、最近查看的文件等。收集后,Cursor按与编辑/生成的相关性对上下文项进行排名,并将排名靠前的项目保留在大型语言模型的上下文中。