WebStorm 9.0.2 Web Help

Comparing Files

WebStorm enables you to compare arbitrary files in project (including image files), selected file with the editor, or compare a file in the editor with the Clipboard contents. All comparisons are performed in the Differences viewer.

In this section:

To compare two files

  1. Keeping the Ctrl key pressed, click two files in the Project tool window.
  2. On the context menu of the selection, choose Compare Two Files . The Differences Viewer for Files opens, with the differences being color-highlighted.
  3. View the differences and apply them, if necessary, using the buttons icon_InsertReplace and icon_InsertReplace2.
    Comparing two files
    Comparing two files

To compare a file with the Clipboard contents

  1. Open the desired file in the editor.
  2. Right-click the editor pane and choose Compare with Clipboard on the context menu.
  3. View and manage differences in the Differences Viewer for Files.

To compare a file with Editor

  1. Right-click the desired file in the Project tool window.
  2. Choose Compare File with Editor on the context menu.
  3. View and manage differences in the Differences Viewer for Files.

See Also

Last modified: 11 December 2014
comments powered by Disqus