camfort icon indicating copy to clipboard operation
camfort copied to clipboard

Order units-suggest outputs by file/line/column

Open jaytorry opened this issue 1 year ago • 1 comments

The order of units-suggest outputs is not as helpful as it could be (something to do with variable name?). Ordering by file/line/column would make it easier to work through the annotations.

Example of current order:

humidity.f90: 16 variable declarations suggested to be given a specification:
    humidity.f90:46:32    ps
    humidity.f90:48:20    qsat
    humidity.f90:47:32    sig
    humidity.f90:45:32    ta
    humidity.f90:33:32    ps
    humidity.f90:36:35    qa
    humidity.f90:37:35    qsat
    humidity.f90:34:32    sig
    humidity.f90:32:32    ta
    humidity.f90:19:32    ps
    humidity.f90:23:35    qsat
    humidity.f90:22:35    rh
    humidity.f90:20:32    sig
    humidity.f90:18:32    ta
    params.f90:21:27    iy
    types.f90:12:27    p

jaytorry avatar Sep 12 '24 16:09 jaytorry

Ah interesting. This should be not too hard to fix, just sorting the outputs based on filename, line, column first.

dorchard avatar Sep 13 '24 07:09 dorchard