News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Is it possible to turn on auto indenting for text, copied from clipboard?

Started by Sagrer, April 24, 2018, 02:19:14 PM

Previous topic - Next topic

Sagrer

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