BookmarkSubscribeRSS Feed
FredrikB
Calcite | Level 5

Hi,

I wonder if anyone knows of a third-party diff tool (like WinMerge) that beyond diffs also can do color coding and syntax highligting of .sas-files?

 

Picture1.png

 

Regards,
Fredrik

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

Hi @FredrikB and welcome to the SAS Community

 

Notepad++ does that. You can tweak Notepad++ to do correct syntax highlighting. See how in the blog post Using Notepad++ as your SAS code editor.

 

You can then use one of the available compare Plugins to compare .sas files. 

FredrikB
Calcite | Level 5

Hi,

 

thanks @PeterClemmensen for the welcoming and the rapid response!

 

I will definitely give Notepad++ a try. What I was hoping to find though was a tool that out of the box, i.e. without use of plugins, could be used to compare versions of SAS-programs and merging diffs in conjunction with Git-integration. Pretty much exactly what WinMerge does, except its’s inability to color code and highlight SAS syntax.

 

In addition to Notepad++, are there any other alternatives?

 

Regards,

Fredrik

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1203 views
  • 0 likes
  • 2 in conversation