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
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.