Before you edit a file, you must check it out of the Helix Core depot.
To check out and edit a file:
In the Solution Explorer, find the file that you want to edit.
If necessary, retrieve the correct revision to your workspace. For more information, see Retrieving files from the depot.
Context-click the file and choose one of the following:
When you check a file out, it is placed in a changelist.
To check your revised version back into the depot so that other users can view your changes and edit it, context-click the file and choose Submit…
In the Pending Changelist dialog, enter a description of your changes and submit the changelist that contains the file. For more information, see Checking in files.
To display a file without checking it out, double-click the file icon. It opens in read-only mode.
To lock a file to prevent others from checking it out while you are working on it, context-click the file icon and select Manage Files>Lock. To unlock it, context-click and select Manage Files > Unlock.
When you try to edit or save a file that is checked into Helix Core, P4VS asks if you want to check it out (and save it, if you are attempting a save). It also gives you the following options: