D******n 发帖数: 2836 | 1 is there a tool to indent lousily indented or indentless SAS codes?
I try ESS, but it doesn't seem to have that function. |
k*****u 发帖数: 1688 | |
D******n 发帖数: 2836 | 3 well, my codes are perfectly indented, i am talking about lousily indented
codes from colleagues.....
Looks like no one does indents here or just indents randomly or just uses
spaces. |
z**********i 发帖数: 12276 | 4 赞.
这个好习惯不是每个人都有的.
【在 D******n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : well, my codes are perfectly indented, i am talking about lousily indented : codes from colleagues..... : Looks like no one does indents here or just indents randomly or just uses : spaces.
|
D******n 发帖数: 2836 | 5 真正的coder(做软件)的都做indent的吧。就是统计师,不伦不类,不算coder,可是
也写code,虽然是SAS。
【在 z**********i 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 赞. : 这个好习惯不是每个人都有的.
|
o**m 发帖数: 828 | 6 有阿
emacs + ess 可以阿
try
C-x h
C-M-\
【在 D******n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : is there a tool to indent lousily indented or indentless SAS codes? : I try ESS, but it doesn't seem to have that function.
|
D******n 发帖数: 2836 | 7 C-M-\ = ESC + \ ?
don't know emacs much.
【在 o**m 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 有阿 : emacs + ess 可以阿 : try : C-x h : C-M-\
|
D******n 发帖数: 2836 | 8 nvm i got it.
but it is far from perfect,it misindents for some places. I wrote sth like
that for vim too, just works fine as well, not perfect.
【在 D******n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : C-M-\ = ESC + \ ? : don't know emacs much.
|