Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse formatter tab policy range 8-19 causes misalignment(Eclipse formatter tab policy range 8-19 causes misalignment)
Eclipse formatter tab policy range 8-19 causes misalignment [message #1845119] Thu, 07 October 2021 19:35
Not Added is currently offline Not AddedFriend
Messages: 1
Registered: October 2021
Junior Member
I have a custom c/c++ formatter based on built in style K&R. I want to use tab everywhere with setting 1 tab being equal to 8 spaces. So I switched the tab policy to "Tab only" and set Tab size to 8. Here is the odd part. Any value less than 8, the preview shows properly aligned code. A range between 8-19 the code looses formatting and becomes fully left aligned. This is not limited to preview, buy actual editor as well. This is Eclipse IDE for C/C++ version 2021-09(4.21.0) / build id 202110910-1417.
Previous Topic:C-Lang
Next Topic:how to change background for preprocessor conditional code (redux)
Goto Forum:
  


Current Time: Tue Dec 07 19:27:45 GMT 2021

Powered by FUDForum. Page generated in 0.01983 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top