How to format code in PC SAS? We don't seem to have a code format right click option in PC SAS.
Manual formatting is so boring and annoying particularly for lazy folks like me, and poor formatted code (mine) gives me enormous eye strain.
Is there an alternative?
Not AFAIK, I often open EG or SAS Studio for that reason, copy code there format and paste back 😄
@novinosrin wrote:
How to format code in PC SAS? We don't seem to have a code format right click option in PC SAS.
Manual formatting is so boring and annoying particularly for lazy folks like me, and poor formatted code (mine) gives me enormous eye strain.
Is there an alternative?
It is also highly unlikely that this legacy SAS interface will get any major enhancements like this in the future as it is very much just being maintained as is. SAS EG and SAS Studio are now the interfaces getting all of the improvements.
@SASKiwi wrote:
It is also highly unlikely that this legacy SAS interface will get any major enhancements like this in the future as it is very much just being maintained as is. SAS EG and SAS Studio are now the interfaces getting all of the improvements.
Thank you all for the responses. I tried my best search online to find a parallel in the objective of some code editor to at least get basic indents done and absolutely no luck 😞 😞 😞 Very disappointed!!!
How about this idea, i.e when we post the code here using the running man icon, we get to have a pop up or prompt asking
choose
1. format code
2. No format code
and then we get to choose and post it as we like. Any thoughts?
SAS has enough trouble getting a syntax highlighter that comes close to understanding the complexity of SAS code.
So I am not sure how much I would trust a program to format SAS code properly.
Plus it would need a lot of options to format code to match users' personal style.
Most of the ones I have seen do nasty things like
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: