You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Search no longer allows you to search sub-folders easily #29660
roblourens i have xterm.js and node-pty root folders. We've talked about this before, whether including a folder should include just the folder relative to the root or all folders of that name. I propose:
build should find the item in xterm.js/src/build/test
./build should not find the item in xterm.js/src/build/test
We talked about it in the context of using it to bypass excludes, which I think was confusing and never worked as well as I wanted it to. I don't think I can make it work the same way with the way I do search across multiple folders now. But this case should still be doable, build will not find src/build/test, and **/build/** as a glob will find it.
I guess I misunderstood since I've been all over the place on this, and my comment #29660 (comment) doesn't make any sense. But sure, let's try changing it to map that to {**/build/**,**/build}so it will find all build folders, or all files named build, and we'll see what happens.
'build' to match 'something/build/something/file.xyz' seems unexpected to me.
'build' to match 'some/path/build.sh' seems wrong.
Also: Including 'repos' when the folder opened in the workbench is '/repos/test' will include '/repos/test/some.css' if that is open in an editor, but not otherwise.
'build' to match 'something/build/something/file.xyz' seems unexpected to me.
I could go either way on it at this point, but there is ./build to just match the root build
'build' to match 'some/path/build.sh' seems wrong.
That won't match now
Also: Including 'repos' when the folder opened in the workbench is '~/repos/test' will include '~/repos/test/some.css' if that is open in an editor, but not otherwise.
Activity
roblourens commentedon Jun 28, 2017
I actually don't quite understand the scenario, is
xterm.js/srca root?Tyriar commentedon Jun 28, 2017
roblourens i have
xterm.jsandnode-ptyroot folders. We've talked about this before, whether including a folder should include just the folder relative to the root or all folders of that name. I propose:buildshould find the item inxterm.js/src/build/test./buildshould not find the item inxterm.js/src/build/testroblourens commentedon Jun 28, 2017
We talked about it in the context of using it to bypass excludes, which I think was confusing and never worked as well as I wanted it to. I don't think I can make it work the same way with the way I do search across multiple folders now. But this case should still be doable,
buildwill not findsrc/build/test, and**/build/**as a glob will find it.roblourens commentedon Jun 28, 2017
I should at the very least change this back to just strip
./.roblourens commentedon Jun 29, 2017
That ^ was already done
roblourens commentedon Jul 25, 2017
I think my changes match your suggestions, let me know if not.
Tyriar commentedon Jul 31, 2017
roblourens this behavior appears to be the same
roblourens commentedon Jul 31, 2017
I guess I misunderstood since I've been all over the place on this, and my comment #29660 (comment) doesn't make any sense. But sure, let's try changing it to map that to
{**/build/**,**/build}so it will find all build folders, or all files named build, and we'll see what happens.Tyriar commentedon Jul 31, 2017
roblourens 👍
chrmarti commentedon Aug 2, 2017
'build' to match 'something/build/something/file.xyz' seems unexpected to me.
'build' to match 'some/path/build.sh' seems wrong.
Also: Including 'repos' when the folder opened in the workbench is '
/repos/test' will include '/repos/test/some.css' if that is open in an editor, but not otherwise.roblourens commentedon Aug 2, 2017
I could go either way on it at this point, but there is
./buildto just match the root buildThat won't match now
Can you open a new issue?
chrmarti commentedon Aug 2, 2017
I'm looking at insiders from 2017-08-02T05:04:00.939Z. Is this a change only in master at the moment?
chrmarti commentedon Aug 2, 2017
Correction: I saw #31939 a second time.
Fix microsoft#29660 - 'src' in the search 'include' field should be t…