Re: Kate - diff - external tools - Kompare

"gregor.mi.sw" <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
Hello Libor,

you can right-click on a non-active tab to compare it with the active tab. There you can choose 
between three different diff tools.

Gregor

On 23.12.20 13:19, Libor wrote:
> 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.