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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes