Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2025-02

Pascal sensitive diff tool?

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter B

Hi,

I'm wondering if there is any diff tool out there, that caters for Pascal syntax, so can filter out
the noise from reformatting etc.

I found difftastic. It has an option for Pascal,
but is case sensitive which rather defeats the object!

Regards,
Peter

Reply by email

Wayne Sherman
to Peter B
Peter B wrote
I'm wondering if there is any diff tool out there, that caters for Pascal syntax, so can filter out the noise from reformatting etc.

Beyond Compare
https://www.scootersoftware.com/
(30-day free trial, but well worth buying a license) (Beyond Compare is itself written using Delphi on Windows and Free Pascal and Lazarus on macOS and Linux)

Reply by email

Hairy Pixels
to Peter B: I'm wondering if there is any diff tool out there, that caters for Pascal syntax, so can…

What do you mean? like syntax styling? I use Sublime Merge as my git client and it styles Pascal syntax.

Regards,
Ryan Joseph

On Feb 21, 2025 at 2:05:03 AM, Peter B via fpc-pascal <

Show quoted text 17 lines
wrote: Hi, I'm wondering if there is any diff tool out there, that caters for Pascal syntax, so can filter out the noise from reformatting etc. I found difftastic. It has an option for Pascal, but is case sensitive which rather defeats the object! Regards, Peter _______________________________________________ fpc-pascal maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email

DougC
to Wayne Sherman: Beyond Compare https://www.scootersoftware.com/ (30-day free trial, but well worth buying…

Beyond Compare is the single most valuable utility I have bought in 30 years of PC use. Highly recommended!

---- On Thu, 20 Feb 2025 20:33:41 -0500 Wayne Sherman via fpc-pascal wrote ---

Peter B wrote
I'm wondering if there is any diff tool out there, that caters for Pascal syntax, so can filter out the noise from reformatting etc.

Beyond Compare
https://www.scootersoftware.com/
(30-day free trial, but well worth buying a license) (Beyond Compare is itself written using Delphi on Windows and Free Pascal and Lazarus on macOS and Linux)

Reply by email

Peter B
to Wayne Sherman: Beyond Compare https://www.scootersoftware.com/ (30-day free trial, but well worth buying…
Wayne Sherman wrote 9 lines
Peter B wrote: > I'm wondering if there is any diff tool out there, > that caters for Pascal syntax, so can filter out > the noise from reformatting etc. Beyond Compare https://www.scootersoftware.com/ (30-day free trial, but well worth buying a license) (Beyond Compare is itself written using Delphi on Windows and Free Pascal and Lazarus on macOS and Linux)

Looks interesting, thanks for the link.
Pleased there is a Debian package, as I'm using Linux for development.

Reply by email

Peter B
to Hairy Pixels: What do you mean? like syntax styling? I use Sublime Merge as my git client and it styles…
Hairy Pixels wrote
What do you mean? like syntax styling?

Hi Ryan,

I'm looking for a diff tool that would show

a/ foo := false;
b/ foo := true;

as differences worth reporting,
but would suppress

a/ Foo := False;
b/ foo  :=   false;

as these changes have pascal significance.

Sublime Merge is a nice git client, and provides a Debian package, but it is picking up whitespace & capitalisation changes in the diffs.

Regards,
Peter

Reply by email

Arne Hanssen
to Peter B

Den 21.02.2025 19:49, skreiv Peter B via fpc-pascal:

Show quoted text 21 lines
On 21/02/2025 02:26, Hairy Pixels via fpc-pascal wrote: > What do you mean? like syntax styling? Hi Ryan, I'm looking for a diff tool that would show a/ foo := false; b/ foo := true; as differences worth reporting, but would suppress a/ Foo := False; b/ foo  :=   false; as these changes have pascal significance. Sublime Merge is a nice git client, and provides a Debian package, but it is picking up whitespace & capitalisation changes in the diffs.

What about Meld (https://meld.app/)?

Best regards Arne Hanssen

Reply by email