With Codebase 使用代码库
With Codebase 使用代码库
With Codebase 使用代码库 With Codebase 使用代码库 Modified September 6, 2024 With Codebase 使用代码库 Default Codebase Chat 默认代码库聊天 If a codebase isn’t indexed, Cursor Chat will first attempt to compute a few search queries to be used to search across your codebase. For better accuracy, it’s recommended to use embeddings search. 如果代码库未编入索引,Cursor Chat 将首先尝试计算一些搜索查询,用于搜索代码库。为了提高准确性,建议使用嵌入搜索。 Embeddings Search 嵌入搜索 With codebase indexing, Cursor Chat can accurately generate responses based on your codebase. 通过代码库索引,Cursor Chat 可以根据您的代码库准确生成响应。 By pressing Ctrl/⌘ + Enter after typing a message, Cursor Chat scans through your indexed codebase to find pieces of relevant code. This is generally good for quickly including code snippets to be taken into the context of the conversation. For more control over the codebase search and better accuracy, you can use @codebase. 通过在键入消息后按 Ctrl/⌘ + Enter,Cursor Chat 会扫描您的索引代码库以查找相关代码片段。这通常有利于快速包含要纳入对话上下文中的代码片段。要更好地控制代码库搜索并提高准确性,您可以使用 @codebase。 Advanced Codebase Search 高级代码库搜索 Cursor codebase chat goes through a more detailed search when @Codebase is used. 使用 Cursor 代码库聊天时,@Codebase 会进行更详细的搜索。 See more about @Codebase here. 在此处查看有关 @Codebase 的更多信息。 indexed embeddings search 编入索引 嵌入搜索 codebase indexing 代码库索引 here 在此处 With Codebase 使用代码库 Default Codebase Chat 默认代码库聊天 If a codebase isn’t indexed, Cursor Chat will first attempt to compute a few search queries to be used to search across your codebase. For better accuracy, it’s recommended to use embeddings search. 如果代码库未编入索引,Cursor Chat 将首先尝试计算一些搜索查询,用于搜索代码库。为了提高准确性,建议使用嵌入搜索。 indexed embeddings search 编入索引 嵌入搜索 Embeddings Search 嵌入搜索 With codebase indexing, Cursor Chat can accurately generate responses based on your codebase. 通过代码库索引,Cursor Chat 可以根据您的代码库准确生成响应。 codebase indexing 代码库索引 By pressing Ctrl/⌘ + Enter after typing a message, Cursor Chat scans through your indexed codebase to find pieces of relevant code. This is generally good for quickly including code snippets to be taken into the context of the conversation. For more control over the codebase search and better accuracy, you can use @codebase. 通过在键入消息后按 Ctrl/⌘ + Enter,Cursor Chat 会扫描您的索引代码库以查找相关代码片段。这通常有利于快速包含要纳入对话上下文中的代码片段。要更好地控制代码库搜索并提高准确性,您可以使用 @codebase。 Advanced Codebase Search 高级代码库搜索 Cursor codebase chat goes through a more detailed search when @Codebase is used. 使用 Cursor 代码库聊天时,@Codebase 会进行更详细的搜索。 See more about @Codebase here. 在此处查看有关 @Codebase 的更多信息。 here 在此处