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

Folding support to undefined code

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.1.0-beta2
    • Editors
    • None
    • RedHat4 based Linux

    Description

      Hi,
      it would be nice if you could hide code that is undefined ("flagged code", i.e. flag set for compiler).

      This could be so that you could hide undefined code same way as you can hide comment lines, so that we have this [+] and [-] in the margin.

      So it could be useful to hide for example this kind of code:

      #if (SOMETHING == ON)
      void funtion1(int);
      void funtion2(int);
      #endif

      Attachments

        Issue Links

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

          Activity

            People

              lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
              teeharju Teemu S. Harju
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes