Sublime Text 3 plugin to display Perforce diffs in the gutter. See additions, deletions, and modifications.
This project is not actively maintained. I no longer have access to a P4 server to test against.
Look for the P4Gutter package in Sublime Package Control.
- You'll need the Perforce command line client (Perforce Downloads).
- Edit settings from Preferences > Package Settings > P4Gutter > Settings - User.
- Optionally, create
.p4_workspace
files, containing the name of the workspace, in your workspace root directories.
The gutter is updated on file open and save events.
Annotations
This opens a new file to display Perforce annotations with change list number and user name prefixed to each line.
Run the P4 Annotations
command from the Sublime command palette;
or you can add a key binding to the p4_annotation
command in your "Key Bindings - User" file, like:
{ "keys": ["super+shift+a"], "command": "p4_annotation" }
MIT Licensed
Icons from GitGutter by JD Isaacks.