Timothy Strelchun
-
187 votesplanned ·
AdminBrandon DuRette
(Admin, Code Collaborator)
responded
There are underlying technical reasons why this is tricky, so our standard answer is to just comment at the top of the block of code you are commenting on and preface with an indicator of the block that you are discussing. For example:
“This method could be…”
or
“This loop would be better if…”However, if there is overwhelming desire for this feature, it is something that we would consider adding.
Timothy Strelchun
gave this 1 vote
·
I just started using CC and quickly discovered this multi-line select limitation. Both contiguous multi-line select and non-contiguous multi-line select are important information to associate with a comment and/or defect note. It should be possible to at least manually enter the line numbers and/or ranges (comma separated) into the "line" field, but it currently accepts no input.
Usually a comment/defect may apply to a range of lines (and occur multiple times in the same file/files). When reporting the defect that information should be identified and recorded. By not tracking this basic data, this useful information will most likely be lost and require authors to figure it out on their own (hopefully!), or the reviewers will need to manually type in the defect comment field the line # range or other areas it occurs (or have to at least paste the same comment in multiple spots).
BTW: My organization at Intel is using 5.0.5027 so if this is addressed in a more recent that would be good to be aware of.