GithubHelp home page GithubHelp logo

simply-blame's Introduction

SB - Simply Blame

Idea like git blame annotations for VS Code!

Steps to use

  1. Install the extension
  2. Press Alt + B on the text editor
  3. You will see who to blame

Screenshots

Blame gif Blame screeshot

Settings

  • Enable/disable a command to open a blame file in a new text editor tab, disabled by default.
    • The enabled command will show up on the context menu of the active text editor tab.
  • Configure and change colors of a heat map color scheme. Top being hot and bottom being cool.
    • Dark and Light theme is supported. Both theme colors are editable.
  • Change blame date format.
    • System will use the locale used by the VS Code.
    • Or you can choose other pre existing date formats.

Change of the heat map colors from light to dark and vise versa require a restart of the VS Code.

How to find extension settings

How to find settings

simply-blame's People

Contributors

jamilu avatar

Stargazers

Junlong avatar Artem Sapegin avatar  avatar Quincy avatar  avatar

Watchers

 avatar

Forkers

jun10ng

simply-blame's Issues

Parsing name failed

Blame failed to parse names:

I was taken here from the VSCode notification button. Let me know what information to share.
image

Uneven edge

Looks like the extension doesn't handle dates with 1 and 2 digits for the day and month correctly:

image

Enhancements

Hi master, I very like your ext. May i raise two enhancements?

  1. blamer name length with not-equal length, that looks wired.
  2. date setting. my project is a very old project, I hope i can see a long early date code blame.
    image

Does not work (On Win11)

Command failed: cd /c:/src/app/ && git blame c:\src\app\src\components\Component.tsx
The filename, directory name, or volume label syntax is incorrect.

It seems to not work on my Win 10 machine.

Most likely due to the mixed use of forward and backward slashes.

Fails on files that include dashes

Running on a file named /Users/xavier/src/dpm-scripts/dpm-utils.py the extension tries to execute this command:

Command failed: cd /Users/xavier/src/dpm-scripts/dpm- && git blame utils.py /bin/sh: line 0: cd: /Users/xavier/src/dpm-scripts/dpm-: No such file or directory

Command failed

Command failed: cd && git blame c:\src\app\webapp\src\pages\Page\components\Page.tsx fatal: not a git repository (or any of the parent directories): .git

It used to work, but now something broke in the recent update(s).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.