DataGrip 2022.2 Help

Work with Subversion properties for files and directories

Install the Subversion plugin

This functionality relies on the Subversion plugin that should be installed and enabled in your IDE.

  1. Press Ctrl+Alt+S to open the IDE settings and select Plugins.

  2. Switch to the Marketplace tab and use the search field to find the Subversion plugin.

  3. Click Install and restart the IDE if prompted.

Subversion integration enables you to work with Subversion-specific properties without leaving DataGrip.

Once defined, the properties of a file or a directory are displayed in the SVN Properties view. In this view you can explore and change the existing properties and their values, or create new ones using the toolbar buttons or context menu commands.

This section describes how to:

To view the properties of a file or directory

  1. In the Files tool window, select the desired file or directory under the SVN version control.

  2. From the main VCS menu, or from the context menu of the selection, choose Subversion | Edit Properties. The SVN Properties view will open showing the properties of the selected file:

  3. Use the toolbar buttons or the context menu commands to create, edit or delete properties, as described in the procedures below.

To create a new property, or set the value for an existing property

  1. Open the SVN Properties view.

  2. Click the add button App general add on the toolbar of the SVN Properties view, or choose the Add property command From the context menu. The Set Property dialog appears.

  3. In the Property name field, type the name of the new property, or select one from the drop-down list.

  4. Choose the Set property value option, and specify the desired value in the text area below.

  5. To apply the changes to all subdirectories of the selected directory, select the Update properties recursively checkbox.

  6. Click OK.

To set up the svn: keywords property

  • In the SVN Properties view for a file, click Properties.

  • In the SVN Keywords dialog, check the keywords to be included in the property.

  • Click OK.

To delete a property

  1. Select the property you want to delete.

  2. Click App general remove on the toolbar.

You can also delete a property from the Set Property dialog. To do this:

  1. In the Property name field, select the property to be deleted.

  2. Select the Delete property radio-button.

  3. If you want this property to be deleted from all files and subdirectories of the selected directory, select the Update properties recursively option.

Last modified: 04 August 2022