Source code alignment for CodeWarrior

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Source code alignment for CodeWarrior

ソリューションへジャンプ
2,212件の閲覧回数
rabbit
Contributor III

I do copy and paste during coding, but the source code likes very mess. I use IAR,  "Cltr + T" will make all the souce code alignment nicely.

But I can't find how to do alignment for a block of source code in CodeWarrior, does anyone know how to do it?

 

Regards

ラベル(1)
0 件の賞賛
返信
1 解決策
1,494件の閲覧回数
matthewkendall
Contributor V

Ctrl+Shift+F invokes the auto-formatter. It applies the rules that you have selected under Window | Preferences | C/C++ | Code Style (for C files, other rules would apply for other types of file). If you have some code selected when you type the shortcut it will format just the selection. If nothing is selected it will format the whole file.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,495件の閲覧回数
matthewkendall
Contributor V

Ctrl+Shift+F invokes the auto-formatter. It applies the rules that you have selected under Window | Preferences | C/C++ | Code Style (for C files, other rules would apply for other types of file). If you have some code selected when you type the shortcut it will format just the selection. If nothing is selected it will format the whole file.

0 件の賞賛
返信