Author Topic: Is it possible to turn on auto indenting for text, copied from clipboard?  (Read 818 times)

Offline Sagrer

  • Multiple posting newcomer
  • *
  • Posts: 12

I searched the forum and in the settings window of CodeBlocks, but could not find the answer.

I'm using CodeBlocks 17.12 and when i copy some code to clipboard and paste this code to another place with different level of indent - the indent of the pasted code must be corrected manually. I can select that inserted code, do a right click and use "Format use AStyle", but can it be done automatically directly after the text insert from clipboard?
This is an example: