Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

[promises-upgrade] Find in Files reports and uses wrong scope #8812

@redmunds

Description

@redmunds

I thought I was going crazy, but I finally found a recipe:

  1. Open Brackets with project set to "brackets" code base
  2. Double-click on utils/Async.js so it's open and in Working Set
  3. Select text "promisify"
  4. Close and restart Brackets
  5. Verify Async.js is in Working Set, open in editor, and "promisify" is selected
  6. Find > Find in Files
  7. Verify Find text field is populated with "promisify" and scope says "in project"
  8. Hit enter to execute search

Results
"4 matches in 1 file"

Expected
Entire project is searched, not just 1 file! Major code trust issue.

It only seems to happen in first search -- execute again and you'll see "25 matches in 4 files"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions