By default, SAS records the indent by pressing the tab key by
tab
, which causes many problem to use the code files under a different environment. There are actually two ways to eliminate the tab character in SAS and replace with empty spaces. - Regular expression
Press Ctrl + H → Replace window pops out → Choose Regular expression search → At the box of Find text input\t
→ At the box of Replace input multiple\s
, say four
- Editor option
Click Tools → Options → Enhanced Editors… → Choose Insert spaces for tabs → Choose Replace tabs with spaces on file open