Perforce for VSCode
With perforce extension, you can perform basic perforce operations within VSCode.
Basic operations in perforce are supported with this extension.
Choose commands from Command Palette:
Status bar Perforce icon:
Choose option from the Perforce Menu:
Click on the perforce menu option aligned to left side of the status bar, you can see the list of available perforce operations. Select the desired option you want to perform on the open file.
You can perform the same operations by selecting the appropriate command from the command palette.
You can check the file status on the left side of status bar.
Information messages concerning the results of the executed perforce commands will be displayed to the left side of status bar.
- A perforce client already installed on your computer.
- You have an account with the perforce depot.
- To set the active changelist for the perforce operations in VSCode, configure perforce integration in settings.
Configure below settings for the better usage of this extension
perforce.host: hostname of the client workspace.
perforce.client: name of the current client workspace.
perforce.user: current perforce username.
perforce.path: configure the path to p4.
perforce.activeChangelist: set the changelist number to act as default for perforce operations in VSCode.
perforce.editOnFileSave: Automatically open the file for edit on save.
perforce.addOnFileCreate: Automatically open the file for add operaiton on create.
perforce.deleteOnFileDelete: Automatically open the file for deletion operation on file delete.
perforce.excludeFiles: Exclude files to Automatically act upon by Perforce.
perforce.files: Include files to Automatically act upon by Perforce.If both files and excludeFiles are set, files take the precedence.
Create templates with perforce RCS Keywords using Templates Extension
and use Perforce extension to open these files for edit/add with +k (RCS keyword expansion) flag.
- Added Files exclude and include option.
- Added Perforce Submit option.
- Added Changelist Info option.
- Initial release of Perforce Extension.