Ignore Files 忽略文件

Ignore Files 忽略文件

Ignore Files 忽略文件 Ignore Files 忽略文件 Modified September 7, 2024 Ignore Files 忽略文件 To ignore files to be included in Cursor features such as codebase indexing, you can use a .cursorignore file in the root of your project. It works the same way as .gitignore works for git. 要忽略要包含在 Cursor 功能(如代码库索引)中的文件,您可以在项目的根目录中使用 .cursorignore 文件。它的工作方式与 .gitignore 对 git 的工作方式相同。 .cursorignore respects .gitignore. If you already have .gitignore, the files will be ignored by default. If you want to ignore additional files, you can add them to the .cursorignore file. .cursorignore 遵循 .gitignore 。如果你已经有 .gitignore,默认情况下将忽略这些文件。如果要忽略其他文件,可以将它们添加到 .cursorignore 文件中。 An Example .cursorignore file 示例 .cursorignore 文件 Code block Plain Text Ignore all files in the directory dist/ Ignore all files .log Ignore specific file config.json codebase indexing 代码库索引) Ignore Files 忽略文件 To ignore files to be included in Cursor features such as codebase indexing, you can use a .cursorignore file in the root of your project. It works the same way as .gitignore works for git. 要忽略要包含在 Cursor 功能(如代码库索引)中的文件,您可以在项目的根目录中使用 .cursorignore 文件。它的工作方式与 .gitignore 对 git 的工作方式相同。 codebase indexing 代码库索引) .cursorignore respects .gitignore. If you already have .gitignore, the files will be ignored by default. If you want to ignore additional files, you can add them to the .cursorignore file. .cursorignore 遵循 .gitignore 。如果你已经有 .gitignore,默认情况下将忽略这些文件。如果要忽略其他文件,可以将它们添加到 .cursorignore 文件中。 An Example .cursorignore file 示例 .cursorignore 文件

在 小宇宙note 阅读完整内容