Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 4.7.0, Qt Creator 4.14.0-beta1
-
None
-
-
2bfa16daa (master)
Description
int main() { #ifdef NOT_DEFINED if (true) { //... } else { //... } #else if (true) { //... } #endif }
In this file, the main function only folds the first line. The comments in the if/else blocks in the NOT_DEFINED region can fold to the next line, and the else block can fold to the end of the function.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-2 Do code folding for preprocessor directives
- Open