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

Option to copy file relative path

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • None
    • Editors
    • None

    Description

      There are several file menu items for a single file:

      • Copy Full Path
      • Copy Path and Line Number
      • Copy File Name

      These is also a use case for having option "Copy Relative Path", which would copy file's path relative to the project it belongs to:  if there is a policy to #include headers bu using names relative to project root. I.e. it would be handy to find proper include file by quick open (Ctrl+K), and then copy it's relative path to be pasted as #include argument

      Depending on project's policies, it might be also to define arbitrary include roots. If this information can be gathered from Code Model, it would be useful to have a sub-menu to "Copy Relative Path to ..." > ... detected include root directories ...

      Attachments

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

        Activity

          People

            davschul David Schulz
            kyrylo.bohdanenko Kyrylo Bohdanenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes