Community
Participate
Working Groups
tryed to describe problem here https://www.eclipse.org/forums/index.php/m/1837233/#msg_1837233 formatting this code: http://cpp.sh/2vnbe if formats wrong when hitting keyword "typeid" This is seen in a ST devtools based on eclipse called STM32CubeIDE 1.5.1
Thanks for the bug report. Can you please submit it to owners of STM32CubeIDE? I assume the problem is general, but this should have their attention. You example is very long, can you provide a smaller test case? Ideally a stand alone one that I can add to the formatter test suite?
tryed on small code ? [code] void main() { int f; for (auto i : array[typeid(f)]) { } } [/code] i just noticed that this formats correct: [code] void main() { int u; for (auto i : array[typeid(f)]) { } } [/code]
I have informed ST about the issue in STM32CudeIDE 1.5.1