Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to search in open files only #33411

Closed
vvs opened this issue Aug 29, 2017 · 1 comment
Closed

Ability to search in open files only #33411

vvs opened this issue Aug 29, 2017 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) search Search widget and operation issues

Comments

@vvs
Copy link

vvs commented Aug 29, 2017

  • VSCode Version: Code - Insiders 1.16.0-insider (d0d00e8, 2017-08-29T07:05:40.998Z)
  • OS Version: Windows_NT x64 10.0.15063

It would be quite helpful to (optionally) limit the search to the open files only, even when a project/folder is open.

For example, I am working on some feature, adding TODOs here and there, and all files that I edited are naturally open. I'd like to search for all TODOs, but not in the entire project (there are thousands of TODOs in the big project), I'd like to limit the searches only to the currently opened files.

Currently, the UI in the Search tab provides a couple of buttons in "files to ignore" field ("Use Ignore Files" and "Use exclude settings").

I'd like to see a button in the "files to include" field, with similar styles as the two buttons above and named "Use Opened Files" or something like that.

Naturally, both ways should be possible, searching the entire project and searching only in the open files.

@vscodebot vscodebot bot added the insiders label Aug 29, 2017
@vscodebot vscodebot bot added the search Search widget and operation issues label Aug 29, 2017
@roblourens
Copy link
Member

👍 Tracking this request in #20530

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 29, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) search Search widget and operation issues
Projects
None yet
Development

No branches or pull requests

2 participants