Running NotePad++ from Command line with Compare Plugin showing compare result

后端 未结 2 1497
醉话见心
醉话见心 2020-12-11 04:16

I am trying to find a way to call notepad++ from command line with compare plugin showing the compare result providing I pass 2 files name which I want to compare.

T

2条回答
  •  一生所求
    2020-12-11 04:37

    There's a tool called NppCompareLoader doing exactly what you want. Simply drop it in the N++ installation folder. I'm using it since many years as a diff viewer for TortoiseSVN and TortoiseGit, thus you should certainly be able to call it right from command line.

    /EDIT

    Since the (unofficial) Compare-plug-in version 1.5.6.6 the additional loader mentioned above isn't required anymore. There's already one included in the plug-in. Here's the regarding change-log fragment:

    • NEW: Loader for using N++ as an external diff viewer (e.g. in TortoiseSVN, TortoiseGit, ..)

提交回复
热议问题