All Projects → alexcorre → Git Blame

alexcorre / Git Blame

Licence: mit
Plugin for Atom Editor. Toggle git-blame annotations for the current file in the gutter.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Git Blame

Markdown Preview Enhanced
One of the 'BEST' markdown preview extensions for Atom editor!
Stars: ✭ 3,478 (+3522.92%)
Mutual labels:  atom, atom-package
Mighty React Snippets
Crafty React & Redux snippets for Atom Editor
Stars: ✭ 16 (-83.33%)
Mutual labels:  atom, atom-package
Md Writer
✒️ Make Atom a better Markdown/AsciiDoc editor for writers and bloggers
Stars: ✭ 326 (+239.58%)
Mutual labels:  atom, atom-package
coeditor
Yet Another Pair Programming Package for Atom.
Stars: ✭ 27 (-71.87%)
Mutual labels:  atom, atom-package
Github
Git and GitHub integration for Atom
Stars: ✭ 880 (+816.67%)
Mutual labels:  atom, atom-package
atom-ide-datatip
Datatips for Atom IDE
Stars: ✭ 30 (-68.75%)
Mutual labels:  atom, atom-package
Prettier Atom
An atom package for the prettier formatter.
Stars: ✭ 750 (+681.25%)
Mutual labels:  atom, atom-package
atom-zurb-foundation
Zurb Foundation 6 for sites snippets.
Stars: ✭ 31 (-67.71%)
Mutual labels:  atom, atom-package
Color Indent
Use colors to show in a non intrusive manner different indentation levels.
Stars: ✭ 11 (-88.54%)
Mutual labels:  atom, atom-package
Atom Sloc
Atom SLOC package for the statusbar
Stars: ✭ 10 (-89.58%)
Mutual labels:  atom, atom-package
atom-ide-crystal
Crystal IDE package for Atom using the Scry Language Server
Stars: ✭ 24 (-75%)
Mutual labels:  atom, atom-package
Go Signature Statusbar
Display the signature of the current Go function under the cursor in the status bar of Atom
Stars: ✭ 44 (-54.17%)
Mutual labels:  atom, atom-package
hey-pane
👋 atom package to enlarge the active pane
Stars: ✭ 43 (-55.21%)
Mutual labels:  atom, atom-package
save-workspace-atom-plugin
If you work with few projects same time this plugin give you the opportunity to change your workspace faster. Save your workspace, all your opened tabs, cursor position, etc. for each task you are working with.
Stars: ✭ 24 (-75%)
Mutual labels:  atom, atom-package
atom-ide-scala
Scala & Dotty support for Atom IDE (🧟‍♂️ zombie repo)
Stars: ✭ 47 (-51.04%)
Mutual labels:  atom, atom-package
Atom Project Manager
Project manager for the Atom editor
Stars: ✭ 519 (+440.63%)
Mutual labels:  atom, atom-package
atom-tree-view-sort
Add a sorting feature for the Atom tree-view package.
Stars: ✭ 24 (-75%)
Mutual labels:  atom, atom-package
set-syntax
An Atom package that creates easy Command Palette commands for setting the syntax of the current file
Stars: ✭ 24 (-75%)
Mutual labels:  atom, atom-package
Vuejs Snippets
Collection of Vuejs 2.0+ snippets
Stars: ✭ 17 (-82.29%)
Mutual labels:  atom, atom-package
Envy
Text editing supercharger
Stars: ✭ 35 (-63.54%)
Mutual labels:  atom, atom-package

git-blame

Toggle git-blame annotations in Atom.

Travis apm apm

screenshot

Usage

Use ctrl-b to activate blame. Alternatively, right click the file you want to blame and select Toggle Git Blame from the dropdown.

right-click-activate

See the revision diff

Click on the revision hash in the gutter to visit the configured repository diff site. Hosts supported out of the box are:

If the remote repo has a URL we don't recognize, or if there is no remote named origin, the commit hash will be copied to the clipboard. Custom remotes can be set globally via options. See below.

Options

Ignore White Space Diffs

If this option is selected, the git blame command will be run with -w option.

Show First Names

If this option is selected, only the first word of the author's name will be displayed. (If both Show First Names and Show Last Names are enabled, the entire author name will be displayed, regardless of whether it contains only two name parts).

Show Last Names

If this option is selected, only the last word of the author's name will be displayed. (If both Show First Names and Show Last Names are enabled, the entire author name will be displayed, regardless of whether it contains only two name parts).

Date Format String

Default date format is YYYY-MM-DD. This feature is backed by moment.js. Any formats supported by moment are valid here.

Color commit authors

If this option is selected, the commit authors will appear with a unique color to make them easily recognisable.

Custom Remote Repo Url

This plugin will first check to see if your repo is backed by GitHub, Bitbucket, or GitLab so nothing is required if your repo is hosted on one of these.

If its not, you can easily set a custom revision URL string like so:

  • From the settings view go to settings for this package Git Blame
  • Check the box for "Use Custom Url Template If Standard Remotes Fail"
  • Set your url format string in the box labeled Custom Commit Url String

url-settings

The URL string should contain the following three placeholder variables wrapped in underscore template delimiters like so: <%- variable %>.

  • project - Will be replaced with the name of the project in your remote git repository. For this repo it would be alexcorre.
  • repo - Will be replaced with the name of the repository. For this repo it would be git-blame.
  • revision - Will be replaced with the full git revision hash you clicked on.

I'll use github as an example. Its already supported out of the box, but if it wasn't its custom url string would be:

https://github.com/<%- project %>/<%- repo %>/commit/<%- revision %>

So when you clicked on hash revision 12345 in this git-blame repository, you would visit the following url:

https://github.com/alexcorre/git-blame/commit/12345

You can also set a custom URL in your git config. If present, it will be used insted of the one in the package settings. You can add or change it with this command:

git config --local atom-git-blame.repositoryUrlTemplate "http://my_server/gitweb/?p=<%- repo %>.git;a=commit;h=<%- revision %>"

Or by edit your .git/config and add an entry like this:

[atom-git-blame]
	repositoryUrlTemplate = "http://my_server/gitweb/?p=<%- repo %>.git;a=commit;h=<%- revision %>"

Release History

This project uses standard-version. Commit messages should use these conventions. fix, feat, and perf commits will show in the CHANGELOG.md generated upon release.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].