vscode-gpm

0.17.0 • Public • Published

vscode-gpm

vscode-gpm is a extension to manage project.

Features

  • [x] Manage your projects in tree view
  • [x] Add project
  • [x] Remove project
  • [x] Prune project
  • [x] Star project
  • [x] Search project
  • [x] Custom hooks

Support

  • [ ] Windows (Not test on windows)
  • [x] Mac OS
  • [x] Linux

Support almost git address. including Github/Gitlab/Bitbucket/Coding...

TIP: Not support private repository with https protocol, please use ssh protocol instead of https

Screen shot

Add project

add project

Edit project

edit project

Open project

open project

Star project

star project

Search project

search project

List project to open

list project to open

Configuration

{
  "gpm.rootPath": "$HOME/gpm",
  "gpm.isAutoRunHook": false,
  "gpm.searchBehavior": "openInNewWindow",
  "gpm.showExplorer": true
}

Custom Hooks

Make sure the file .gpmrc have exist in the target project.

{
  "hooks": {
    "postadd": "npm install",
    "preremove": "echo 'run preremove hook'",
    "postremove": "echo 'run postremove hook'"
  }
}

support hooks:

  • [x] postadd: run command in project path after add project.
  • [x] preremove: run command in project path before remove project.
  • [x] postremove: run command in owner path after remove project.

hook is default disable. if you want enable it. see Configuration.

WARNING: custom hook may be dangerous. risk on your own.

Q & A

Q: Should I need to install gpm in global?

A: No, vscode-gpm is an independent package.

Q: How to interrupt git clone command if you got bad network?

A: Clone progress will print in status bar. click status bar and show an dialog to confirm interrupt it.

Q: Where are the project be cloned?

A: See to Configuration, project will save in gpm.rootPath

Related

https://github.com/gpmer/gpm.js/

Contributors


Axetroy

💻 🔌 ⚠️ 🐛 🎨

License

The MIT License

Package Sidebar

Install

npm i vscode-gpm

Weekly Downloads

1

Version

0.17.0

License

MIT

Unpacked Size

27.6 MB

Total Files

53

Last publish

Collaborators

  • axetroy