project-list
Easy access and switching between projects with options. The project file is located in the Pulsar configuration files under the name project.cson
.
Installation
To install project-list
search for project-list in the Install pane of the Pulsar settings or run ppm install project-list
. Alternatively, you can run ppm install bacadra/pulsar-project-list
to install a package directly from the Github repository.
project.cson
You can edit a file by command project-list:edit
or by manually opening <config-dir>/project.cson
. The main file structure consists of a array of objects.
Setting | Type | Description | Default |
---|---|---|---|
title |
string |
Project title used in the project list | mandatory |
paths |
array[string] |
The array of paths to project directories | mandatory |
tags |
array[string] |
The tags help's organize and find projects | [] |
scan |
boolean |
scan paths and add subdir as projects | false |
icon |
string |
custom icon of project e.g. "icon-star" |
"icon-file-directory" |
devMode |
boolean |
project should open in Dev Mode | falsse |
safeMode |
boolean |
project should open in Safe Mode | false |
Here is an example of project.cson
:
[
{
title: "py-bacadra",
paths: [
"C:/bacadra/"
],
tags: [
"bacadra"
]
},
{
title: "Projects",
paths: [
"C:/Projects/",
"D:/Projects/"
],
tags: [
"Projects"
],
scan: true
},
{
title: "Samples",
paths: [
"C:/Samples/"
],
tags: [
"Samples"
]
devMode: true
}
]
Commands
In atom-workspace
there are available commands:
project-list:toggle
: (defaultF10
) opens the project listproject-list:recent
: (defaultAlt-F10
) opens the recent projectsproject-list:update
: manually update the projects listproject-list:edit
: open the project configuration file
In project-list
there are available shortcuts:
select-list:open
: (defaultEnter
): opens a new window with the selected projectselect-list:swap
: (defaultAlt-Enter
): closes the active window and opens a new one with the selected projectselect-list:append
: (defaultShift-Enter
): appends the selected project to the projects in the active windowselect-list:paste
: (defaultAlt-V
): paste paths into text-editor
Configuration
The Preserve last search
config option is used from the command-palette
package.
Contributing
Got ideas to make this package better, found a bug, or want to help add new features? Just drop your thoughts on GitHub — any feedback’s welcome!