Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I get inline blame (like GitLens) on Webstorm?

Tags:

webstorm

Just moved from VSCode to Webstorm. One of the features I like on vscode was the inline blame that came with GitLens, this allowed me to speak with team members who had written the code, can this be done on Webstorm? (I know I can get the whole blame but I just want inline the last commit)

like image 388
Michael Avatar asked Apr 02 '19 11:04

Michael


People also ask

How do I see commits in WebStorm?

WebStorm lets you review the state of your project at a selected revision. Open the Git tool window Alt+9 and switch to the Log tab. Select a commit and choose Show Repository at Revision from the context menu.

How do I see git blame in Intellij?

Right-click the gutter in the editor or in the Differences Viewer and select Annotate with Git Blame from the context menu.

What is GitLens?

GitLens is an open-source extension for Visual Studio Code. GitLens simply helps you better understand code. Quickly glimpse into whom, why, and when a line or code block was changed. Jump back through history to gain further insights as to how and why the code evolved.

How do I blame in git?

The git blame command is used to examine the contents of a file line by line and see when each line was last modified and who the author of the modifications was. The output format of git blame can be altered with various command line options.


2 Answers

UPDATED: corrected name to "GitToolBox" from "Jetbrains Toolbox"

This can be achieved through the GitToolBox plugin, it provides the exact same functionality as git lens, finally I found it! This can be toggled from other settings> git toolbox global or git toolbox project (if you only want to configure per project) See screenshot enter image description here

like image 58
Michael Avatar answered Sep 21 '22 10:09

Michael


Install plugin GitToolBox. It has the same functionality as VisualCode's GitLens.

File > Settings > Plugins > Marketplace 
like image 27
Matheus Grilo Avatar answered Sep 21 '22 10:09

Matheus Grilo