Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-246

rename path and filePath to something more expressive

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • None
    • None

      Rename the file context variables path and filePath to something more expressive and document them.

      It should be a single variable representing the file with properties like path and filePath. This way we do not clutter the global namespace with superfluous symbols.

      Something like:

      currentFile.filePath // absolute file path of the current file
      currentFile.directoryPath // directory path of the current file
      

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

            Unassigned Unassigned
            jbornema Joerg Bornemann
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes