Add Folder To Project
This package streamlines the process of adding and removing folders to and from your projects. It provides a set of commands and context menu options to manage your project's folder structure directly from the editor.
Details
Installs
- Total 18K
- Win 12K
- Mac 3K
- Linux 3K
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 1 | 0 | 2 | 1 | 0 | 2 | 0 | 0 | 1 | 1 | 1 | 2 | 1 | 1 | 2 | 1 | 2 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 4 | 0 | 2 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 2 |
Mac | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 |
Linux | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Readme
- Source
- raw.githubusercontent.com
AddFolderToProject
AddFolderToProject is a Sublime Text package that streamlines the process of adding and removing folders to and from your projects. It provides a set of commands and context menu options to manage your project's folder structure directly from the editor.
Of course, you can use the already built-in function (Project -> Add Folder to Project...).
But then you have to click through all the folders again and again.
Note
This package is a rewrite
of the existing package AddFolderToProject
by David Gerva
AddFolderToProject-SublimePlugin.
Further information can be found here: Rewrite
Repository | GitHub | Sublime / Package Control |
---|---|---|
Status |
---|
Feature
- Add Folder to Project
- Remove Folder from Project
- Add Custom Folder to Project
- Add this Folder to Project
- Remove this Folder from Project
- Create Project from File
- Copy File Path
- Copy Dir Path
Add Folder to Project
This function provides a searchable list of folders that can be added to the current project.
The list consists of absolute paths (see Settings) add_folder_to_project_folders
and recursive paths add_folder_to_project_recursive_folders
.
Command: AddFolderToProject: Add Folder to Project
Remove Folder from Project
This function provides a list of active folders in the project, that can be removed from the current project.
Command: AddFolderToProject: Remove Folder from Project
Add Custom Folder to Project
This function allows you to add a custom folder to the project (absolute path).
Command: AddFolderToProject: Add Custom Folder to Project
Add this Folder to Project
This function adds the folder of the current open file to the project.
Command: AddFolderToProject: Add this Folder to Project
Remove this Folder from Project
This function removes the folder of the current open file from the project.
Command: AddFolderToProject: Remove this Folder from Project
Create Project from File
This function creates a new project (new sublime window) with the folder of the current open file.
Command: AddFolderToProject: Create Project from File
Copy File Path
Copies the file path of the current open file.
Command: AddFolderToProject: Copy File Path
Copy Dir Path
Copies the dir path of the current open file.
Command: AddFolderToProject: Copy Dir Path
General
Save Folder In Settings
Each time a folder is added, the code checks whether it already exists in the configuration (add_folder_to_project_folders
).
If not, it asks whether this path should be saved.
Menus
These functions are accessible through the context menu and the sidebar menu, making it easy to manage your project's folders without leaving your editor.
Context Menu
The following functions are available in the Context menu:
- Add Folder to Project
- Remove Folder from Project
- Add this Folder to Project
- Remove this Folder from Project
- Create Project from File
- Copy File Path
- Copy Dir Path
Sidebar Menu
The following functions are available in the Sidebar menu:
- Add Folder to Project
- Remove Folder from Project
- Add this Folder to Project
- Remove this Folder from Project
- Create Project from File
- Copy File Path
- Copy Dir Path
Settings
Settings -> Package Settings -> AddFolderToProject -> Settings
| Name | Description | Default Value |
| - | - | - |
| add_folder_to_project_folders | Provides a searchable list of folders that can be added to the current project. | /Users/dennykorsukewitz/
|
| add_folder_to_project_recursive_folders | Provides a searchable (only first level) list of folders (recursive) that can be added to the current project. For example: “/Users/” - adds “/Users/dennykorsukewitz/” to list. | “ |
Installation
To install this package, you have three options:
1. Search Package via Package Control
Search and install online package via Sublime Package Control.
Tools
-> Command Palette
-> Package Control: Install Package
-> simply search for AddFolderToProject
to install.
2. Install via sublime-package file
Download latest sublime-package file and move the package AddFolderToProject.sublime-package
to Installed Packages
folder.
OSX
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Installed Packages/
- or ST 3 -
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Installed Packages/
Linux
cd ~/.config/sublime-text-2/Installed Packages
- or ST 3 -
cd ~/.config/sublime-text-3/Installed Packages
Windows
cd "%APPDATA%\Sublime Text 2\Installed Packages"
- or ST 3 -
cd "%APPDATA%\Sublime Text 3\Installed Packages"
3. Source code
Clone the latest dev branch and unpack it to Sublime Package folder Packages
.
OSX
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
- or ST 3 -
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
git clone git@github.com:dennykorsukewitz/Sublime-AddFolderToWorkspace.git AddFolderToProject
Linux
cd ~/.config/sublime-text-2/Packages
- or ST 3 -
cd ~/.config/sublime-text-3/Packages
git clone git@github.com:dennykorsukewitz/Sublime-AddFolderToWorkspace.git AddFolderToProject
Windows
cd "%APPDATA%\Sublime Text 2\Packages"
- or ST 3 -
cd "%APPDATA%\Sublime Text 3\Packages"
git clone git@github.com:dennykorsukewitz/Sublime-AddFolderToWorkspace.git AddFolderToProject
Download
For download see Sublime-AddFolderToProject
Rewrite
The rewrite was made for the following reasons:
- AddFolderToProject-SublimePlugin has not been maintained since 09/02/2015.
- Issues and PullRequest were not further processed. Now all known issues are fixed.
- New functions and the old functions from David Gerva have been compiled and revised.
With David's permission, we have now changed the source of the package to this repository so that we can continue to offer the functionality to users of this package.
Many thanks to David Gerva for his wonderful work! ❤️ Open Source ❤️
Enjoy!
Your Denny Korsukéwitz 🚀