• Sign In



  • Categories

    Extension Details



    Readme

    Git Abilities provides

    • Git blame: The selected lines in the editor will be passed to git blame, and a notification will be shown with the author's name and email, and the commit's date and message. A button is included which opens the blame on GitHub, GitLab, or whichever host your repository uses.
    • Open Selection in Browser: The current file is opened in the browser, highlighting the line(s) that were selected.
    • Open Selection in Browser (origin/HEAD): The current file is opened in the browser, at the default branch (usually master or main), highlighting the line(s) that were selected.
    • Copy Link to Selection: A link to the current file is copied to the clipboard
    • Open Selection in Browser (origin/HEAD): A link to the current file, at the default branch (usually master or main), is copied to the clipboard.

    The extension supports both GitLab and GitHub.

    Usage

    Use one of the following to run Git Abilities:

    • Select the Editor → Git Abilities menu item
    • Choose Git Abilities from the context menu
    • Open the command palette and type one of the commands listed above

    Note: if you have commits that have not been pushed to the remote repository, the file can not be opened in the browser since the commit will not exist yet. Instead you can use the (origin/HEAD) version of the command

    Acknowledgements

    Built on the excellent work from alexanderflink/nova-git-blame and ticky/nova-github-shortcuts

    Release Notes

    Version 1.1.5

    • More fixes on remote uri parsing

    Version 1.1.4

    • Added more robust parsing of remote uri

    Version 1.1.3

    • Correctly parse ssh style remote uri

    Version 1.1.2

    • Fix description and README

    Version 1.1

    • added the following abilities
    • Open Selection in Browser: The current file is opened in the browser, highlighting the line(s) that were selected.
    • Open Selection in Browser (origin/HEAD): The current file is opened in the browser, at the default branch (usually master or main), highlighting the line(s) that were selected.
    • Copy Link to Selection: A link to the current file is copied to the clipboard
    • Open Selection in Browser (origin/HEAD): A link to the current file, at the default branch (usually master or main), is copied to the clipboard.
    • fixed an issue parsing GitHub repository origins

    Version 1.0

    • Initial release
    • added the following ability
    • Git blame: The selected lines in the editor will be passed to git blame, and a notification will be shown with the author's name and email, and the commit's date and message. A button is included which opens the blame on GitHub, GitLab, or whichever host your repository uses.

    License

    The MIT License (MIT)

    Copyright (c) 2022-present digitalMoksha LLC

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.