eclipse-theia/theia

files.exclude working differently compared to vscode

已关闭

#17,670 创建于 2026年6月17日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (2,478 个派生)batch import
bughelp wantednavigator

仓库指标

星标
 (18,676 个星标)
PR 合并指标
 (平均合并 15天 4小时) (30 天内合并 75 个 PR)

描述

Bug Description:

files.exclude is picking up non-workspace root folders when it shouldn't be.

Steps to Reproduce:

  1. Create the following folder structure
dist
src
 |- dist
  1. create a settings.json for
"files.exclude":{ 
    "dist":true 
}

Both dist and src/dist are excluded in Theia, while vscode only excludes dist

This makes it hard to exclude workspace root level folders and not exclude others with same name.

The same applies to:

"files.exclude":{ 
    "*/dist":true 
}

In vscode, that would exclude src/dist while leaving dist, but it doesn't work at all in Theia

Additional Information

  • Operating System:
  • Theia Version:

贡献者指南