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

Be able to mark parts of the code as not being editable

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 3.6.0
    • Editors

      There are situations where parts of a file will be automatically generated by an external tool and this code should not be modified at all, since the amount of code that is generated can be quite large it is possible that this gets done by accident. Therefore being able to mark an area as not being editable in the code would be a good way to deal with this.

      In Netbeans for example they utilize a form of a comment which surrounds the relevant code, so for example we could allow:

      // NOT_EDITABLE
      ....

      // END_NOT_EDITABLE

      to inform Qt Creator that it should be marked as read-only.

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

            davschul David Schulz
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes