NetBeans Plugin which opens the Web UI of the Git repository you cloned from.
See http://plugins.netbeans.org/plugin/49930/open-url-of-git-repository-hoster
This plugins adds git-related actions to the context menu of a GIT-versioned project OR of the tab context menu. Internally it parses the GIT URL of the project, generates specific URLs for the GIT repository hoster and opens the URL in the browser. The browser is configurable at Tools|Options|General|Web Browser.
Following actions are added to the project context menu:
- "Show log"
Open the commit overview/history view for the current branch
- "Show commit"
Open the commit for the current revision (where implemented)
- "Show diff"
Open the commit diff for the current revision (where implemented: currently github, gitblit, gitlab)
- "Create pull request'
Open a website to create a pull request (where implemented: currently bitbucket, gitlab)
Following actions are added to the context menu of the editor and its tab:
- "Show file"
Open the current file for the current revision (where implemented: currently gitblit, bitbucket, github, gitlab)
- "Show file history"
Open the history view of the current file (where implemented: currently gitblit, bitbucket, github, gitlab)
Currently supported patterns: GitBlit, gitlab.com, bitbucket.org, github.com, GitWeb
- [Feature 40]: Improved Gitlab support / add support for 'Merge request'
- [Feature 37]: Add to editor context menu
- [Task 39]: Remove Google Code support
- [Feature 35]: Add possibility to add keyboard shortcuts. Configure them at Tools|Options|Keymap
- [Bugfix 36]: Fixed: Use configured browser to open links. Configure it at Tools|Options|General|Web Browser
- [Bugfix 31]: Fixed: WARNING [org.openide.util.Utilities]: findContextMenuImpl, getPopupPresenter returning null for
- [Issue 34]: Configuration-Migrator from 1.4.0.2 to 1.4.1.0 does not work
- [Issue 28]: Open file, open file history and commit diff actions for github.com
- [Issue 32]: Open file, open file history actions for bitbucket (PR by @mkleint)
- [Issue 33]: Migrator for new patterns (NOTE: If you altered the pattern configuration manually in the previous version then the migration cannot be done automatically. You have to reset the configuration in the options and reintroduce your changed manually.)
- [Issue 30]: Fixed NoSuchElementException
- [Issue 22]: Add "Create Pull Request" action (currently for bitbucket only) (PR by @mkleint)
- [Issue 20]: Support patterns for Gitlab.com
- [Issue 24]: Additional patterns for github/gitblit
- [Issue 26]: More patterns for gitblit
- [Refactoring 23]: Refactoring of patterns - introduced a submenu and registered to editor tab too
- [Refactoring 27]: Configurable options - custom patterns for hosters can be defined in options
- [Issue 21]: Support git@bitbucket.org style of repository definition (PR by @mkleint)
- [Issue 19]: Fixed: Pattern for Gitblit does not work
- [Issue 10]: Fixed: Make query of strategies failsafe
- [Issue 9]: Fixed: NullPointerException at GitUtils.getRemote
- [Issue 8]: Fixed: Github: Remote URLs without ".git" postfix are not supported
- [Issue 7]: Fixed: Branchnames with slashes are not supported
- [Issue 5]: Fixed StringIndexOutOfBoundsException when opening the project's context menu
- [Issue 6]: Add position attribute to action to prevent warning in the log
- [Issue 2]: Convert to maven based module
- [Issue 3]: Add support for URLs with embedded credentials
- [Issue 4]: Implement GitHub connection also for git@... URLs
Note: It only works for tracked branches. That means your local branch must be associated with a remote one. For example: your local branch 'myfeature' has a remote counterpart 'origin/myfeature'.
Not supported are
- Pure local branches
- Checked out tags/revisions/detached heads
- Multiple selected projects
Provide defects, request for enhancements (f.e. new patterns) and feedback at https://github.com/markiewb/nb-git-open-in-external-repoviewer/issues
Compatible to >=NB 7.4
Legal disclaimer: Code is licensed under Apache 2.0. The names of the GIT repository hosters are trademarks of their owners. I am not affiliated with any of these owners nor endorsed by them.