# P4Gutter ---------- Sublime Text 3 plugin to display Perforce diffs in the gutter. See additions, deletions, and modifications. ## Note *This project is not actively maintained. I no longer have access to a P4 server to test against.* ### Looks like ![screenshot](screenshot.png) ### Installation Look for the *P4Gutter* package in Sublime [Package Control](https://sublime.wbond.net/). ### Setup * You'll need the Perforce command line client ([Perforce Downloads](http://www.perforce.com/downloads/Perforce/Customer)). * 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. ### Usage #### Gutter Icons The gutter is updated on file **open** and **save** events. #### Additional Commands 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" } ``` ### License MIT Licensed ### Thanks Icons from [GitGutter](https://github.com/jisaacks/GitGutter) by [JD Isaacks](https://github.com/jisaacks).