Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-4027

Need collapse/expand preprocessor #if /#fdef and #endif/#else-#endif pairs.

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: P4: Low P4: Low
    • None
    • None
    • Editors
    • None

      Please make preprocessor directives #if/#endif able to be collapsed like operator braces. In multiplatform projects there could be lot of conditionally translated code. When I work with one branch it's often better hide other branch.

      Please implement not only one pair hiding bat also "hide in entire project". For example if project contains lot of

      #ifdef SOMENAME
      ...
      #endif //SOMENAME

      it will be useful hide all such code if SOMENAME was not defined.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kosjar Nikolai Kosjar
            gourmand Serge
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes