visual-studio-code - vscode-如何获取文件搜索(不包括内容)以包含(git-)被忽略的文件

标签 visual-studio-code

尽管这不是直接的开发问题,但确实与开发工具有关,这与我的开发工作非常相关:

当我在VSCode(CTRL + P)中搜索文件时,我看到它不包含属于.gitignore文件一部分的文件和文件夹。

我可以很好地看到其中的逻辑,这很好,但是如何禁用此(默认值)行为呢?意思是,我确实希望此搜索将项目中的所有文件都包括在内,而与.gitignore文件(或其他任何忽略文件)无关。

最佳答案

打开Visual Studio代码设置(在Mac上为cmd + ,Ctrl + ,),搜索设置:
Search: Use Ignore Files
并取消选中该复选框

enter image description here

关于visual-studio-code - vscode-如何获取文件搜索(不包括内容)以包含(git-)被忽略的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55949132/

相关文章:

typescript - 如何为 vscode 启用严格的空检查

node.js - VScode 中的 REST 客户端代理问题

azure - VS Code 智能感知不适用于某些 ARM 命令

visual-studio-code - 覆盖扩展中现有的 Visual Studio Code 命令

batch-file - 在 VsCode 中按键执行 bat 文件

json - 配置 vscode json 格式化空间

typescript - VS 代码扩展 : Hide commands from command palette

visual-studio-code - 设置集成终端默认位置

python - 在VS Code中调试dockerized Django会导致错误 “Timed out waiting for launcher to connect”

python - vscode找不到python的requests库