Helix Core - General

Set the following display and file behavior preferences:

Display:

  • Use OS format for dates: Use the date format that the operating system uses.
  • Format dates using Helix standard (yyyy/mm/dd hh:mm:ss): Use the Helix Server format.

Files and folders:

  • Warn before reverting files: If selected, P4VS displays a prompt before reverting files.
  • Lock files on checkout: If selected, P4VS locks files every time you check them out. Locks prevent other users from checking in changes while you work on a file.
  • Prompt for changelist when checking out, adding, or deleting files: If selected, P4VS prompts you to select a changelist when files are about to be checked out, added, or deleted in Helix Core Server. If cleared, Helix Server performs the action but does not prompt you to select a changelist. Instead, it uses the active changelist, which is either the default or the changelist specified in the Connection toolbar.
  • Mark for delete in Helix Core Server when deleting files: If selected, files that you delete in Visual Studio are marked for delete in Helix Core Server.
  • Check out writable files on save: If selected, P4VS automatically checks out files that are writable in the workspace.
  • Automatically add new files to Helix Core Server: If selected, P4VSmarks new files for add in a pending changelist.

    This option works together with the Prompt for changelist when checking out, adding, or deleting files option to determine prompting behavior when you add new files to a project or solution that is under Helix Server control:

    • If both this option and the Prompt for changelist option are enabled, P4VS prompts you to mark new files for add.
    • If this option is enabled and the Prompt for changelist option is disabled, new files are automatically added to the default changelist without any prompt.
    • If this option is disabled and the Prompt for changelist option is enabled, no prompts will appear; you must manually mark new files for add.
  • Update related projects when reverting moved files: If selected, P4VS reverts file renames or moves in Visual Studio when you revert a Helix Server rename/move operation.

    If you do not select this option, Visual Studio continues to show the new file name or location despite the fact that Helix Server has reverted the file to its original name or location.

    Note

    If you revert a folder rename/move in P4VS, you must manually revert the name or location in Visual Studio, regardless of your preference selection.

  • Use Visual Studio to view file versions: If selected, P4VS shows previous revisions of a file (from the File History dialog, for example) in a Visual Studio editor window.

    You can use this option to view file revisions or shelved files the same way that you would view an editable file in the Visual Studio IDE.

  • When starting to edit an out of date file: If Always ask to sync the file is selected (default), P4VS prompts you before syncing to prevent you from losing any work. If the check box is cleared, P4VS always syncs the file, without prompting.

Project and solution files:

  • Tag project and solution files as controlled by P4VS: If selected, P4VS writes tags to the solution and project files that are under Helix Server control. The default is not to tag project and solution files; P4VS does not need to tag these files to know that they are under Helix Server control.
  • Set the location of new projects to the current workspace root directory: If selected, P4VS puts new projects in the current workspace root directory. The Location field in the New Project dialog will be populated by default with the current workspace directory.
  • Warn if solution is outside workspace root: If selected, P4VS displays a warning message when a solution is not in the client map. If you do not store solutions in source control or you do not want to be alerted if a solution is created outside the workspace root, you can clear this check box.