GITLENS is pretty cool plugin I found for Visual Studio Code which give all the information about who and when the changes were made in the file. Is there any similar plugin to GITLENS for Perforce ? The plugin could be for any other IDE as well.
Is there any plugin like gitlens for perforce?
1.2k views Asked by Geek At
2
There are 2 answers
2
On
The extension Perforce for VS Code has annotations that can show which changes were made and which user made them.
You can enable annotations for every file by setting the configuration perforce.annotate.enable
to true
.
perforce.annotate.changelist
and perforce.annotate.user
can be set to true
to output changelist numbers for each line and the user who modified the line respectively.
If you are using a new extension Perforce for VS Code, You can use the command
perforce.annotate
By default, it comes with a keybinding
alt
+p
n
(it works only when editor text is in focus). You can also search forPerforce: Annotate
inCommand Palette
.