Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update repo docs with Netbeans instructions #31

Open
badvision opened this issue Sep 4, 2021 · 1 comment
Open

Please update repo docs with Netbeans instructions #31

badvision opened this issue Sep 4, 2021 · 1 comment

Comments

@badvision
Copy link

Repo also works with Netbeans if you install the "External commands" plugin. https://github.com/tristanjl/netbeans-externalcommands

Instructions:

  1. Confirm where repo is in your path, e.g. which repo, you will need the full path more than likely, this is referenced as [REPO] where [REPO] will be something like /usr/local/bin/repo for example.
  2. Install the external commands plugin from the netbeans plugin options.
  3. Open the application preferences and go to Miscellaneous > External Commands.
  4. Configure each command as follows:
  • get : [REPO] get -f ${FilePath}
  • put : [REPO] put -f ${FilePath}
  • status : [REPO] st ${FilePath}
  • diff : [REPO] diff ${FilePath}

Current status and diff do not work because they do not have the working directory set to the project root before the command is run. This would require extra work to support (but not impossible.)

You can also map these commands to shortcuts from Preferences > Keymap. The commands are generically listed as "Command 1", "Command 2", etc.

@alexkli
Copy link
Contributor

alexkli commented Sep 9, 2021

@badvision PR welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants