WebStorm 2016.3 Help

Command Line Differences Viewer

On this page:

Viewing differences

To view differences using command line diff tool

  • In the command line, type the following:
    <WebStorm> diff <path1> <path2>
    where:
    • <WebStorm> is the platform-specific product launcher
    • <path1>, <path2> are full paths to the files to be compared.

Examples

Windows

WebStorm.exe diff C:\SamplesProjects\MetersToInchesConverter\src\javascript\numbers.js C:\SamplesProjects\MetersToInchesConverter\src\coffeescript\numbers.coffee

OS X

/Applications/WebStorm.app/Contents/MacOS/WebStorm diff ~/Documents/file1.txt ~/Documents/file2.txt

See Also

Last modified: 22 March 2017