Dela via


Plug-in Tabs for Source Control (Options Dialog Box)

Allows customization of source control roles and plug-in settings in Visual Studio. The plug-in tabs are part of the Visual Studio Options dialog box, located under the entry Source Control:

  • Plug-in Selection. Switches source control plug-ins.

  • Environment. Specifies environment settings for the default roles defined by Visual Studio. For example, if the user is an independent developer, conflicts with other users are generally not created by keeping items checked out after a check-in. For this role, Visual Studio automatically selects the Keep items checked out when checking in option.

  • Plug-in Settings. Specifies options for identifying the source control plug-in associated with a solution or project.

Tab Access

In Visual Studio, on the Tools menu, click Options, and then Source Control. Options are defined for plug-in selection, environment, and plug-in settings.

UI Element List, Plug-in Selection

Changes the current source control plug-in associated with the Visual Studio IDE, and makes it the default plug-in. The plug-in selected is reflected in the Source Control entry on the File menu of Visual Studio. Click OK to register your change and switch operation to the plug-in you have chosen.

Note

You can use this part of the Options dialog box to disable source control by clicking None in the list of plug-ins.

UI Element List, Environment

  • Allow checked-in items to be edited
    Specifies that checked-in items can be edited in memory. Upon selection of this item, an Edit button appears in the Check Out For Edit dialog box when you try to modify a checked-in item.

  • Check in everything when closing a solution or project
    Specifies that you will check in all items upon closing a solution or project.

  • Checked-in item behavior
    Contains settings for saving and editing checked-in items.

  • Don't show Check Out dialog box when checking out items
    Specifies that Visual Studio should display the Check Out Now command on the File menu. In this case, a checkout dialog box is not displayed.

  • Don't show Check In dialog box when checking in items
    Specifies that Visual Studio should display the Check In Now command on the File menu. In this case, a check-in dialog box is not displayed.

  • Don't show this dialog again
    Specifies that Visual Studio should not show the source control environment settings.

  • On Edit
    Specifies the way items are to be handled upon editing. Possible options are as follows:

    Option

    Description

    Prompt for checkout

    Specifies that Visual Studio should issue a prompt for a checkout.

    Prompt for exclusive checkouts

    Specifies that Visual Studio should issue a prompt for exclusive checkouts.

    Check out automatically

    Indicates that Visual Studio should check out items automatically.

    Do nothing

    Specifies that Visual Studio should do nothing upon editing.

  • Get everything when opening a solution or project
    Retrieves the latest version of all items when you open a solution or project.

  • If dialogs were hidden using Don't show this again, click Reset to view them again.
    Specifies that Visual Studio should show the source control environment settings if you click Reset.

  • Keep items checked out when checking in
    Specifies that items being checked in should remain checked out to you. If you want to change this option for a specific check-in, click the Options arrow in the Check In dialog box, and clear the Keep Checked Out option.

  • Reset
    Resets confirmations.

  • On Save
    Specifies the way items are to be handled when you save them. Possible options are as follows:

    Option

    Description

    Prompt for checkout

    Specifies that Visual Studio should issue a prompt for a checkout on a save operation.

    Check out automatically

    Specifies that Visual Studio should check out automatically on a save operation.

    Save as

    Specifies that Visual Studio should present a Save as prompt upon a save operation.

  • Source Control Environment Settings
    Specifies the name of the source control plug-in for which you are setting environment options.

UI Element List, Plug-in Settings

  • Advanced
    Allows you to set additional options for using the source control plug-in. The Advanced button is only available when a valid source control plug-in is installed on the local computer. The advanced settings are specific to the plug-in.

  • Login ID
    Specifies the user name for logging in to the source control plug-in. If supported by your plug-in, this name is put automatically in the login dialog box used by the source control plug-in to access the server. To make this option active, disable automatic user logons for the source control plug-in, and restart Visual Studio.

    Note

    The login ID can only be edited when a valid source control plug-in is installed on the local computer.

  • Perform background status updates
    Automatically updates the source control icons in Solution Explorer as item status changes. If you experience delays when you perform server-intensive operations, especially when you open a solution or project from source control, clearing this option might improve performance.

  • Set plug-in specific options
    Specifies the name of the source control plug-in for which you are making settings.

See Also

Reference

Check In Dialog Box (Source Control)

Check Out For Edit Dialog Box (Source Control)

Other Resources

Source Control User Interface Reference