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.
Asked
Active
Viewed 1,098 times
2 Answers
1
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.

mserajnik
- 41
- 7
-
{ "perforce.annotate.enable": true, "perforce.annotate.changelist": true, "perforce.annotate.user": true } I have added this to user settings but still I couldn't see any change – Geek Jun 29 '18 at 06:41
-
same for me. added this to user settings but still I couldn't see any change – PRUDHVI CHOWDHARY NEKKALAPUDI Mar 21 '23 at 20:10
0
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 for Perforce: Annotate
in Command Palette
.

Aman Garg
- 1
- 1