1.1.0
npm install -g projectman@1.1.0
- Project specific editors (Thanks #4 @fechy for issue)
- Now you can
pm edit
and seteditor
key insettings.json
projects[] with the value of the command of your editor. settings.json
E.g.
- Now you can
{
"commandToOpen": "code",
"projects": [
{
"name":"MyCoolProject",
"path":"/home/path/projects/mycoolproject",
"editor":"vim"
},
{
"name":"TwoProject",
"path":"/path/something/project"
}
]
}
This will allow users to open other projects in VSCode but use Vim to open MyCoolProject
- Projects will not be erased after updating furthur
(However they will still be erased while installing this update so I'll recommend to take copy of your settings.json If you have added multiple projects already) (Sorry but this is the last time when you'll have to do this 😢 ))
(Thank you @codyaverett and @Tanuj69 issue #2 and helping me out solving this) - Added
vim
inpm seteditor
also added a message explaining 'How to set editors/IDE that are not listed in the menu' pm
is now alias forpm open
(Thank you @johannesjo for suggestion)pm seteditor [commandToOpenEditor]
added
This will set default editor command, This can be used when the editor you want to use is not listed inpm seteditor
. (Note:pm seteditor
will work exactly same as it did before)