Kate - diff - external tools - Kompare

Libor <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <CAHZvZy3Z10NpaMxhxhOVfAFnm3=2NTn0xsbJ+mF2SQFL1_PpoQ@mail.gmail.com>
Hello KATE Team!

I referenced Kate to several IT people and/or programmers in my surrounding
looking for a cross-platform alternative to Notepad++, but the fact that it
lacks a diff tool is a huge stop sign for most people straight-away.

The solution might be easy: If you include in "external-tools-plugin"
another parameter "%{Document:NativeFilePath*2*}" for a *second* file (if
in split mode, then visible file in the next panel, in all cases it would
be easy to populate the next file from the list of opened files), then
configuring this plugin to startup Kompare (/usr/bin/kompare
-c %{Document:NativeFilePath} %{Document:NativeFilePath2}" in Linux) would
be easy.

As it stands now (AFAIK), Kompare can be configured only to start "empty"
(which would fill the last two compared files) and that is quite
unimpressive and useless (as starting it via launcher is even faster then
via Kate menu). You can't even supply two same files, because Kompare would
complain they're identical and revert to last used files.

Libor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.