I frequently have EG Project logs that exceed the maximum size allowed for viewing inside of EG and therefore have to export them as text files.
Unfortunately, I then lose the "enhanced editor" feature of having the log in the EG project.
Is there a Notepad++ "language" that will provide the same capability? Or some other text editor that will read these files with the same "enhanced" capabilities as EG? (And if not, why not?)
What features of the EG viewer for log files are you looking to replicate? How does it's viewer work differently than viewing it with Notepad++ or any other text viewer?
I am talking about the project log -- not the logs from the program nodes.
In addition to color coding, the project logs "collapse". That is, each run has a heading indicating the node that was run and the exact date and time it was run. Each heading can be expanded to show the log from that run or collapsed so that one can quickly scroll through the log.
I have downloaded the "language" for SAS that creates the color coding for SAS programs. The core piece of the EG project log text editor is the "collapsibility/expandibility" feature. It would be very nice to have that in logs that have to be exported after the space available in EG for project logs has been reached. Does anyone know of such a feature or text editor?
I know @ChrisHemedinger has a Notepad++ language file for syntax highlighting .sas files.
See: https://blogs.sas.com/content/sasdummy/2017/08/25/npp-with-sas/
If you just want highlighting of WARNING: and ERROR:, I would think that would be straightforward.
I don't know if you can get it to automatically count warnings/errors when you open a .log file, or a "go to next error" button. But you can do a lot with Ctrl-F. If you select "Find All in Current Document" it will find all the lines with "ERROR", and pull them into a window. And you can click a line to jump to that point in the log, etc.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.