Skip to content

sapegin/vscode-just-blame

Repository files navigation

Just Blame 🪲

Git Blame annotations, inspired by JetBrains editors.

Install from Visual Studio Marketplace

With light theme:

Just Blame with light theme

With dark theme:

Just Blame with dark theme

Commit information tooltip:

Commit information tooltip

Features

  • Very minimal and fast.
  • Heatmap like in JetBrains editors.
  • Supports light and dark modes out of the box, and doesn’t come with insanely bright colors by default.
  • Doesn’t use any resources until you turn on the annotations.
  • Doesn’t pollute the editor with too many commands and hotkeys.

Commands

You can either run this commands from the Command Palette (Cmd+Shift+P on a Mac, or Ctrl+Shift+P on Windows), or use hotkeys.

Description Name Default Mac Default Windows
Toggle Git blame annotations justBlame.toggleBlame

Settings

You can change the following options in the Visual Studio Code setting:

Description Setting Default
Colors to show age of blame entries justBlame.colorScale See below
Locale to format dates justBlame.locale en-GB

Here’s how a config file would look like with default options:

{
  "justBlame.colorScale": {
    "light": [
      "#a4bed0",
      "#aec5d5",
      "#b8ccdb",
      "#c2d4e0",
      "#cddbe5",
      "#d7e2ea",
      "#e1e9ef",
      "#ebf1f5",
      "#f5f8fa",
      "#fcfdfd"
    ],
    "dark": [
      "#65469b",
      "#5e4190",
      "#573c86",
      "#50377b",
      "#493371",
      "#422e66",
      "#3d2b5f",
      "#362654",
      "#2f214a",
      "#291c3f"
    ]
  },
  "locale": "en-GB"
}

Changelog

The changelog can be found on the Changelog.md file.

How is it different from other extensions?

Most Markdown extensions are bloated with commands and hotkeys I’d never need. In Just Blame I added only commands that I either use very often (like bold or italic), or can never remember the correct syntax (like tables). Other tools (like list autocomplete) make the writing comfortable.

You may also like

Check out my other Visual Studio Code extensions:

Sponsoring

This software has been developed with lots of coffee, buy me one more cup to keep it going.

Buy Me A Coffee

Contributing

Bug fixes are welcome, but not new features. Please take a moment to review the contributing guidelines.

Authors and license

Artem Sapegin, and contributors.

MIT License, see the included License.md file.