WebStorm 2016.2 Help

Shelf Tab

View | Tool Windows | Version Control - ShelfN/A

The tab is added to the Version Control tool window when you
shelve a change or a changelist, and is displayed until you permanently remove
all shelved changes, including the already unshelved ones, and imported external
patches.

By default, this tab shows all shelved changes that have not been unshelved yet.
Changes are grouped into shelves. A shelf is a changelist created when you shelve changes. A shelf is identified
by the commit message. You can have WebStorm show the unshelved changes. They can be restored and re-applied as
many times as necessary, until they are removed permanently.

You can assign a custom shortcut for the Show Shelf action in
Settings | Keymap | Version Control Systems to open the
Shelf tab.

Toolbar

Item

Tooltip and shortcut

Description

Show Diff Ctrl+D

Choose this option to open the Differences Viewer and compare the shelved version of a file
with its current local version.

Create Patch

Choose this option to create a patch file based on a shelved change. In the
Create Patch dialog box that opens, specify the file to save the patch in,
and the changes to create a patch from. By default, all changes from the selected shelf are involved
in the patch creation. To view which changes are included, click the Selected link.

Choose this option to select specific changes you want to unshelve instead of applying an entire
shelf. In the Unshelve Changes to Changelist dialog box box that opens,
specify the changes you want to apply, and the changelist you want to add these changes to.
For details, see Unshelving Changes.

Restore

Choose this option to re-activate the unshelved changes. By default, unshelved changes are no longer
shown in the list of available shelved changes, therefore you first need to have WebStorm display
it by choosing Show Already Unshelved. You can restore any change as many times
as you need until the change is permanently removed by choosing Delete.
For details, see Filtering Out and Removing Unshelved Changes and Restoring Unshelved Changes.

Import Patches

Choose this option to apply patches created externally or through WebStorm. In the dialog box that
opens, choose the files to import patches from. The imported patches are treated as shelved changes
and are shown in the Shelf tab of the
Version Control tool window where you can unshelve them at any time.

Rename

Shift+F6

Choose this option to modify the name of the selected shelved changelist.