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

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 3.6.0
    • Fix Version/s: None
    • Component/s: Editors

      Description

      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.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes