ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Close​Folder

by aviaryan ALL

Sublime Text plugin to close all open files inside some folder or all open files inside the folder of current active file.

Details

Installs

  • Total 2K
  • Win 1K
  • Mac 316
  • Linux 260
Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31
Windows 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 1 1 1 0 0 0 0 0
Linux 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

CloseFolder Sublime Text plugin

Package Control GitHub tag

A simple Sublime Text plugin to close all open files of current directory or all open files inside some directory. Supports Sublime Text 2 and 3.

Motivation

  1. When doing web development project, the tab count easily shoots up to 30+ in no time. By this time, figuring each tab starts becoming difficult as only few characters of the filename can be seen. With this I can quickly close an old folder (which I may not need now) and generate some room.
  2. I keep all my college semester lab work in a single project. Whenever I need to make some room, I close a past 'lab' folder.
  3. When I take part in a coding contest/marathon, I create a folder for it and then keep all related files in there. By the end of the contest, I easily have 10+ tabs opened for it. This plugin helps me remove them all at once.

Installing

Search for CloseFolder and install it via Package Control.

OR

Download this repo, extract it and then place CloseFolder folder in Packages directory of ST.

Using

There are 2 commands in this plugin.

  1. close_folder - Closes all files which are in the same directory (& below) as the file opened in the active tab. This can be activated by following ways.

    1. Right click in the Sublime Text editing area and select 'Close Folder' option.
    2. Open Command Palette (Ctrl-Shift-P) and run CloseFolder: Close all files in this folder recursively.
  2. close_folder_dirs- Closes all files which are inside the selected directory, recursively. This can be activated from the sidebar by right clicking on the folder and selecting 'Close Folder' option.

Screenshots

screen shot 2017-01-12 at 5 56 46 pm screen shot 2017-01-12 at 6 02 22 pm
stcp potato