Is there any shortcut for CodeBlocks to format the code?

Twi picture Twi · Oct 9, 2014 · Viewed 35.4k times · Source

Is there any shortcut for CodeBlocks to format the code?

I haven't find any tip in google.

I found only "format use AStyle", but it come up with right mouse button only...

Answer

Aleš Koblížek picture Aleš Koblížek · Oct 13, 2014

probably not by default but you should be able to assign it there:

Settings -> Editor -> Keyboard shortcuts -> Plugins -> Source code formatter (AStyle)