Skip to content

Pattern matching in "Find all files" work only for open files? #18198

Closed

Description

  • VSCode Version: 1.8.1
  • OS Version: macOS 10.12.2

Steps to Reproduce:

I have a Go project (https://github.com/ahmetalpbalkan/go-linq) and I am looking for this pattern in the codebase: a '{' followed by two new lines.

I have no open files currently.

I hit Cmd+Shift+F and type regex: \{\n\n, hit the [.*] regex button and then hit return, I get no results:

image

Suspicious, because I am sure I have some matches.. Then I open a file aggregate.go and I hit Cmd+Shift+F again and return again to perform the exact same search:

image

Bam! I have matches now, but only from the open file, aggregate.go. Is this a bug?

Activity

  1. added
    *duplicate
    on Jan 6, 2017
  2. sandy081 commented on Jan 6, 2017

    @sandy081
    Member

    Duplicates #13068

  3. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    *duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions