eclipse-theia/theia

files.exclude working differently compared to vscode

クローズ

#17,670 opened on 2026/06/17

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,478 件のフォーク)batch import
bughelp wantednavigator

Repository metrics

Stars
 (18,676 個のスター)
PR merge metrics
 (平均マージ 15d 4h) (30d で 75 merged PRs)

説明

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:

コントリビューターガイド