Skip to main content
StefanRickli
Associate
November 1, 2019
Question

Align code indentation between code generator and code editor

  • November 1, 2019
  • 0 replies
  • 2433 views

Current default settings for indentation:

Code generator: spaces only, 2 spaces per indentation level

Code formatter: tabs only, 4 spaces per indentation level

This quickly results in an indentation chaos if the default code formatter layout is not changed.

Please align the default settings to something reasonable!

(In the meanwhile, go to Preferences/C,C++/Code Style/Formatter, hit 'Edit' , set 'Tab policy' to 'Spaces only', 'Indentation size' to 2, 'Tab size' to 2, Edit the Profile name and hit 'OK' to at least be concise with the code formatter output.)

This topic has been closed for replies.