代码库索引(Codebase Indexing) 每次打开新项目,首次对话时 Cursor 可能会显示“Codebase Not Indexed”(代码库未索引)。这是因为 Cursor 需要在处理第一个请求时,将代码库向量化,变成 AI 的“知识库”。这个过程就像我们在 Coze 或 Cherry Studio 中建知识库一样。 代码库未索引提示 索引完成后,AI
{"description": "Find snippets of code from the codebase most relevant to the search query.\nThis is a semantic search tool, so the query should ask for something semantically matching what is needed.\nIf it makes sense to only search in particular directories, please specify them in the t...
"description": "Find snippets of code from the codebase most relevant to the search query.\\nThis is a semantic search tool, so the query should ask for something semantically matching what is needed.\\nIf it makes sense to only search in particular directories, please specify them in the ...
codebase_search:语义搜索工具 read_file:读取文件内容(或大纲) run_terminal_cmd:代表用户在终端执行命令 list_dir:快速列出目录内容 grep_search:基于正则表达式的快速文本搜索 edit_file:编辑文件内容 file_search:基于模糊匹配的快速文件路径搜索 delete_file:删除指定路径的文件 reapply:在编辑结果不符合预期时,调用...
"codebase_search", "parameters": {"properties": {"explanation": {"description": "One sentence explanation as to why this tool is being used, and how it contributes to the goal.", "type": "string"}, "query": {"description": "The search query to find relevant code. You should reuse...
codebase_search:语义搜索工具 read_file:读取文件内容(或大纲) run_terminal_cmd:代表用户在终端执行命令 list_dir:快速列出目录内容 grep_search:基于正则表达式的快速文本搜索 edit_file:编辑文件内容 file_search:基于模糊匹配的快速文件路径搜索 delete_file:删除指定路径的文件 ...
setup rules - Set up rule files and directory structure without analyzing the codebase analyze existing - Generate an analysis report of your codebase without creating specificationsSpecification Management Commandsspec create "Title" - Create a new specification file spec update "path/to/spec.md" -...
We've made significant improvements to indexing performance of similar codebases within a team, greatly reducing the initial indexing time for subsequent copies of large repositories after one copy has been fully indexed. For example, the Cursor codebase now indexes in under a minute, previously ...
but it tells me the syntax is not correctHope you can helpAll replies (2)Wednesday, February 1, 2006 4:31 PM ✅Answered | 1 votetry this codePrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.LoadMe.Location = Windows.Forms.Cursor....
but it tells me the syntax is not correctHope you can helpAll replies (2)Wednesday, February 1, 2006 4:31 PM ✅Answered | 1 votetry this codePrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.LoadMe.Location = Windows.Forms.Cursor....