Skip to content

Search no longer allows you to search sub-folders easily #29660

Closed

Description

@Tyriar
  • VSCode Version: Code - Insiders 1.14.0-insider (15b579d, 2017-06-27T05:11:33.154Z)
  • OS Version: Linux x64 4.10.0-24-generic
  • Extensions:
Extension Author (truncated) Version
EditorConfig Edi 0.9.3
lorem-ipsum Tyr 1.0.0
sort-lines Tyr 1.3.0
vscode-svgviewer css 1.4.2
tslint eg2 0.15.0
git-project-manager fel 1.3.2
md-navigate jri 0.0.1
vscode-scss mrm 0.6.2
seti-icons qin 0.1.3
vim vsc 0.9.0

(1 theme extensions excluded)


#29510

test is in the folder .../xterm.js/src/build/. I really think there's value to sticking with the ./ syntax to make the search relative to all roots.

image

Activity

  1. added
    bug
    search
    on Jun 27, 2017
  2. roblourens commented on Jun 28, 2017

    @roblourens
    Member

    I actually don't quite understand the scenario, is xterm.js/src a root?

  3. Tyriar commented on Jun 28, 2017

    @Tyriar
    ContributorAuthor

    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
  4. roblourens commented on Jun 28, 2017

    @roblourens
    Member

    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.

  5. roblourens commented on Jun 28, 2017

    @roblourens
    Member

    I should at the very least change this back to just strip ./.

  6. modified the milestone: June 2017 on Jun 28, 2017
  7. roblourens commented on Jun 29, 2017

    @roblourens
    Member

    That ^ was already done

  8. added this to the July 2017 milestone on Jul 7, 2017
  9. roblourens commented on Jul 25, 2017

    @roblourens
    Member

    I think my changes match your suggestions, let me know if not.

  10. Tyriar commented on Jul 31, 2017

    @Tyriar
    ContributorAuthor

    build should find the item in xterm.js/src/build/test

    roblourens this behavior appears to be the same

    image

  11. roblourens commented on Jul 31, 2017

    @roblourens
    Member

    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.

  12. Tyriar commented on Jul 31, 2017

    @Tyriar
    ContributorAuthor
  13. chrmarti commented on Aug 2, 2017

    @chrmarti
    Collaborator

    '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.

  14. roblourens commented on Aug 2, 2017

    @roblourens
    Member

    '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.

    Can you open a new issue?

  15. chrmarti commented on Aug 2, 2017

    @chrmarti
    Collaborator

    'build' to match 'some/path/build.sh' seems wrong.

    That won't match now

    I'm looking at insiders from 2017-08-02T05:04:00.939Z. Is this a change only in master at the moment?

  16. chrmarti commented on Aug 2, 2017

    @chrmarti
    Collaborator

    Correction: I saw #31939 a second time.

  17. added
    verified
    and removed
    verification-found
    on Aug 2, 2017
  18. locked and limited conversation to collaborators on Nov 17, 2017
  19. added a commit that references this issue on Sep 6, 2026
    383001f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugsearchverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions