P4EditVSSimple, lightweight Visual Studio extension that allows you to checkout and revert files in Perforce without slowing down or blocking your IDE. Download the latest release from either the Visual Studio Marketplace or GitHub. Visual Studio 2017/2019 Version Note: It is recommended to disable Git as the default source control provider in Visual Studio. Otherwise, this will make read-only files writable which will confuse the plugin and Perforce! FeaturesAccess commands for current file in extension toolbar menu. (Under Extensions in VS2019) Right-click active file tab. Right-click items in Solution Explorer. Bind keyboard shortcuts to commands. P4 command success/failure summary is shown in the status bar.
(When checking out, a Supported Commands
RequirementsYou'll need a relatively recent version of the Perforce client with
ConfigurationVisit Specify client, server and user names for up to 6 workspaces. Any
workspaces configured here will show up in the Set The selected workspace is saved in the suo file for each solution. Notes
TroubleshootingSwitch the Output Window to P4EditVS to see P4 command logging to help identify issues if commands are not being executed as expected. This will help quickly identify issues such as being logged out of the server, expired tickets, etc. Building from Visual StudioTo Build for VS2015 - VS2019Load To Build for VS2022+Load DebuggingTo debug the addin, you can run Visual Studio in the debugger. Right
click the Select In Then run. You get a second copy of Visual Studio, with the addin loaded. ( ContributionsContributions are welcomed where they improve the user experience and do not affect IDE performance. Thanks to the following contributors for making this extension better.
FAQHow is this extension different to the official P4VS extension?Unlike P4VS, P4EditVS does not aim to provide complete coverage of all Perforce features from within Visual Studio. Instead it uses p4.exe and p4vc.exe to carry out commands with basic integration into Visual Studio. E.g. context menus and auto-checkout. P4EditVS is designed to have zero noticeable overhead and prioritises the users' experience in Visual Studio. This means that some features may not be present in P4EditVS that are in P4VS. Why should I use P4EditVS over the official P4VS extension?If you're experiencing performance issues, have a slow Perforce connection or want a lightweight and simple extension then P4EditVS might be for you. |