core icon indicating copy to clipboard operation
core copied to clipboard

[BUG] 不带后缀 `/` 时 ContentSearch 拼接出的 glob 会导致无法搜索该文件夹内容

Open bytemain opened this issue 3 years ago • 1 comments

如:在 node_modules/@opensumi/di 中搜索 @opensumi/di

不带后缀 / 的话就搜不到内容。

image image

此外发现 VSCode 的表现有点奇怪,如果搜索条件是 node_modules/@opensumi/di,会搜索的非常慢,搜索条件改为 ./node_modules/@opensumi/di 就正常了。

bytemain avatar Apr 24 '22 03:04 bytemain

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 12 '22 18:10 stale[bot]

closed by https://github.com/opensumi/core/pull/2185.

erha19 avatar Jan 12 '23 02:01 erha19

CleanShot 2023-01-12 at 11 00 51@2x CleanShot 2023-01-12 at 11 01 43@2x

这个没有修好,甚至都搜不到 node_modules 下面的内容

bytemain avatar Jan 12 '23 03:01 bytemain