BookmarkSubscribeRSS Feed
ballardw
Super User

Would it be possible to reduce the indent provided by, I am guessing, tab characters in code pasted.

We see messages with multiple indents that make the code "line" way larger than needed requiring scrolling a box right and left to read some submitted code.

 

An example occurs in this message: https://communities.sas.com/t5/SAS-Programming/Do-loop-inside-Macro-not-working/m-p/509065

If that actually is an 8 character indent per TAB character if the forum display used 3 or 4 then the code readability might go way up.

1 REPLY 1
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Code box needs an update in general.  Sometimes line feeds are not respected, have to copy out to notepad then back again and such like.  Code from from Unix may not display properly, though does in Notepad++.  Copy paste doesn't work in code area, if you copy one line of code from a previous code window, then another and paste each into one code window, it separates out into two blocks.  E.g.

abc
def
abc
def - copied from first, and pasted after abc in the above code window creates this new code window.

 

Some sort of spell check would be nice as well.

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Discussion stats
  • 1 reply
  • 787 views
  • 0 likes
  • 2 in conversation