菜单栏:edit--configuraion--editor标签,第一个选项“Auto Indent”前的复选框打 勾。 和KEIL版本有关,我用的uVison3,好象有的版本是view--option--editor。[size=xx-large][/size]