2022-04-04 02:15 AM
Hi all.
How to enable the function to collapse text like in the picture below:
In CUBEIDE I don't have this function.
Thank you for your answer.
Kind regards,
Oleksii
Solved! Go to Solution.
2022-04-04 03:19 AM
The STM32CubeIDE is based on an original, only slightly adapted Eclipse and therefore behaves largely the same. For the editor, Eclipse uses a default folding for C, which does not provide for folding for various elements, e.g. IF statements.
To activate it nevertheless, all you need to do in the menu is to activate the option Enable Folding of control flow statements (if/else ...) and make further settings if necessary in:
Windows > C/C++ > Editor > Folding
Please close existing editor windows and open them again to see the effect.
Good luck!
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter
2022-04-04 03:19 AM
The STM32CubeIDE is based on an original, only slightly adapted Eclipse and therefore behaves largely the same. For the editor, Eclipse uses a default folding for C, which does not provide for folding for various elements, e.g. IF statements.
To activate it nevertheless, all you need to do in the menu is to activate the option Enable Folding of control flow statements (if/else ...) and make further settings if necessary in:
Windows > C/C++ > Editor > Folding
Please close existing editor windows and open them again to see the effect.
Good luck!
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter