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

Offline Sagrer

  • Multiple posting newcomer
  • *
  • Posts: 12
Hi.

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:
https://gyazo.com/ac1c04f6d3c80dd8940c51597f099f72
https://gyazo.com/fc7800f9257de1c8e3f78b508e3688c8