Skip to content

Provide a command to close all unchanged files #25667

Closed

Description

  • VSCode Version: all
  • OS Version: all

At work I use this editor heavily and sometimes end up in a situation where lots of editor are open.
It will be great if there is an option to close all unchanged files quickly.
Happy to raise a pull request for this as well !

  • Editor Action Support for Closing Unmodified files in a group from
    1. Explorer Open Editor's context menu
      closeviaexplorercontextmenu

    2. Editor Tab context menu
      closeviaeditortabcontextmenu

    3. Command Palette
      closeviacommandpalette

Activity

  1. added
    feature-request
    on May 1, 2017
  2. changed the title [-][Feature request] Option to close all unchanged files[/-] [+]Provide a command to close all unchanged files[/+] on May 2, 2017
  3. added
    *extension-candidate
    on May 14, 2017
  4. bpasero commented on May 14, 2017

    @bpasero
    Contributor

    Imho this command should be provided as an extension.

  5. soneymathew commented on May 14, 2017

    @soneymathew
    ContributorAuthor

    Benjamin Pasero (@bpasero) Imho I felt the other way round based on other editors I have used since this is a very common feature that qualified to be part of the core editor.

    Atom
    image

    IntelliJ Idea
    image

  6. bpasero commented on May 14, 2017

    @bpasero
    Contributor

    Soney Mathew (@soneymathew) still, being out for 2 years and not having anyone complain about this potentially missing feature bothers me. I am not questioning its usefulness but I want this to be an extension if possible.

  7. soneymathew commented on May 15, 2017

    @soneymathew
    ContributorAuthor

    Thanks for the guidance Benjamin Pasero (@bpasero) , I am using vscode since less than a year and really miss this feature especially while exploring large code bases, while tracing code flows. The lighter the editor the more tabs I will have open until I narrow down the search to what I am looking for.

    I spoke to a couple of users and got mixed reactions, so I think you have a good point there.
    I will investigate if the extensions approach is performant enough to cater to this need when I get time away from work, probably a weekend. Till then I am happy using my fork for my daily usage ;)

    Meanwhile would you consider keeping this issue open to see if any other users have a different point of view ?

  8. bpasero commented on May 15, 2017

    @bpasero
    Contributor

    Soney Mathew (@soneymathew) sure we keep this open and we can also leave your PR open for now. Please give the extension model a try and see if there is something missing.

  9. removed
    *extension-candidate
    on Jun 15, 2017
  10. bpasero commented on Jun 15, 2017

    @bpasero
    Contributor

    Merged via #25692

  11. added
    verification-needed
    on Jun 22, 2017
  12. bpasero commented on Jun 22, 2017

    @bpasero
    Contributor

    Verification
    Verify the new "Close Unmodified" action works as expected from the various places where you can invoke it (commands palette, right click on a tab, open editors view).

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

Metadata

Metadata

Labels

feature-requestverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions