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

Generate​Projects

by drmonkeyninja ALL

Generates Sublime project files for a directory

Details

Installs

  • Total 315
  • Win 161
  • Mac 78
  • Linux 76
Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 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
Windows 0 0 0 0 0 1 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 0 0 0 0 0 0 0
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

GenerateProjects

A simple Sublime Text plugin for generating Sublime Project files for all folders within a specified repository folder.

If you save all your projects/repositories in a single folder and want to be able to quickly scan this folder for new folders and generate Project files automatically for these then this is the plugin for you.

Set Up

Before using this plugin you will need to set the paths in the plugin settings file.

  • local_repositories_directory - this is the absolute path to the folder containing your project code
  • sublime_project_directory - this is the absolute path you want Sublime to save Project setting files to for each of the projects in local_repositories_directory

The plugin will not work until these have been set.

There is also an optional blacklist setting which takes an array of folders within local_repositories_directory that you want to exclude when generating project files.

An example settings file for the plugin:-

{
    "local_repositories_directory": "/Users/andy/Sites",
    "sublime_project_directory": "/Users/andy/projects",
    "blacklist": [
        "tools"
    ]
}

This will generate project files in /Users/andy/projects for all folders in /Users/andy/Sites except the tools folder.

Usage

Once the plugin is set up you can select 'Generate Projects' from the 'Projects' menu and Sublime will create all the relevant project files for you. You can then just 'Open Project…' as normal and select one of the newly created projects.

License

GenerateProjects is released under an MIT License.