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?
Regards,
Fredrik
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.
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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.