Project Manager for Sublime Text 3 . mirror of https://github.com/budRich/ProjectManager
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Randy Lai 4c72e37b29 better name the command as "Add New Project" 4 år sedan
Default (Linux).sublime-keymap refactor 5 år sedan
Default (OSX).sublime-keymap refactor 5 år sedan
Default (Windows).sublime-keymap Revert "windows ctrl+shift+w now closes projct" 4 år sedan
Default.sublime-commands better name the command as "Add New Project" 4 år sedan
LICENSE.txt add license 5 år sedan
Main.sublime-menu better name the command as "Add New Project" 4 år sedan
README.md add windows/linux keybind 4 år sedan
closewindow.py improve close window command 5 år sedan
pm.png Update README.md 5 år sedan
pm.py better name the command as "Add New Project" 4 år sedan
pm2.png Update README.md 5 år sedan
pm3.png update menus and screenshots 4 år sedan
project_manager.sublime-settings rename as ProjectManager 4 år sedan

README.md

Project Manager for Sublime Text 3

Dont’t have any idea what *.sublime-project and *.sublime-workspace are doing? Forget where the project files are? Don’t worry, Project Manager will help organizing the project files by putting them in a centralized location. (It is inspired by Atom’s Project Manager, but Atom’s Project Manager is inspired by the built-in Sublime Text Project Manager, so there is a circular reasoning here).

Installation

You can install Project Manager via Package Control.

You can additionally add the following keybind in your user keybind settings file for “Open project in new window”

{
    "keys": ["super+ctrl+o"], // or ["ctrl+alt+o"] for Windows/Linux
    "command": "project_manager", "args": {"action": "new"}
}

Usage

To launch the Project Manager, you can either open it under the Project menu or via the command palette: Project Manager: ....

To quick switch between projects, use the hotkey Ctrl+Cmd+P (Ctrl+Alt+P for windows/linux).

Project Manager also improves the shortcut Ctrl+Shift+W on Windows and Linux so that it will close the project when the window is closed. On OSX, it is the default behaviour.

Options are self-explained, enjoy!

Create new project

Just drag some folders to Sublime Text and then “Add Project”. The project files will be created in Packages/User/Projects/.

Add existing projects to Project Manager

There are two ways to add existing projects to Project Manager. If you want to keep the project files (.sublime-project and sublime-workspace) in your project directory,

  • Open your project file .sublime-project, and then use the import option of Project Manager. This tells Project Manager where .sublime-project is located and Project Manager will know where to look when the project is opened. In other words, you can put the .sublime-project file in any places.

If you want Project Manager manages the project files

  • Move your .sublime-project and .sublime-workspace files in the project directory Packages/User/Projects/. You may need to update the project’s folder information of the files.

Custom Projects directory

To use a different directory for your projects rather than Packages/User/Projects/, edit the following in package settings: Preferences -> Package Settings -> Project Manager

{
    "projects_path": ["path/to/custom/projects_dir"],
}

License

Project Manager is MIT licensed.