JakeSwart's avatar
JakeSwart
Visitor
11 years ago
Status:
Implemented

Reference the Line of Another File in the Same Review

In the chat box of file foo.cc I would like to reference a specific line in file bar.cc. For example, I have bar.cc:line 12 written in my code collab chat box. 

 

In this case, code-collab only recognizes and allows the jump to bar.cc, but not to the line. I would like a feature where a designer can write a reference to line 12 in bar.cc and Collaborator automatically auto-links the to the correct line.

 

5 Comments

  • The syntax is a little different than the original request.  From the docs:

    https://support.smartbear.com/collaborator/docs/working-with/concepts/chats.html#chat-new

    line NNN - will create link to desired range of the lines of the current file.

    lines N1:N2 - will create link to desired range of the lines of the current file.

    [file name]/L:NNN - will create link to line number of the another file. For example, test.txt/L:10

    [file name]/L:N1-N2 - will create link to desired range of the lines of the another file. For example, test.txt/L:10-12

    That first example should say:

    line NNN - will create link to desired line of the current file.

  • lucaspv's avatar
    lucaspv
    Occasional Visitor

    This was marked as implemented but I can't get it to work.. typing bar.cc:line 12 will create separate links, one for bar.cc and another for line 12 of the current file. 

    What is the expected syntax for referencing lines from different files?

  • Status changed:
    Selected for Development
    to
    Implemented

    Implemented in Collaborator v.14.3