You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People contributed to the original ticket: @unknown_contributor, @djmitche
Ticket created on: Oct 06 2014
Ticket last modified on: Oct 07 2014
Log files often contain references to source code.
(E.g. compiler errors and warnings start with file:line:)
It would be a great help if those could be formatted as HTML links to a source code viewer.
Often the source code is already available online so that just the link has to be generated.
The [[WarningCountingShellCommand]] already tracks the working directory and extracts file name and line number from warnings, so we already have all the information for a proper link.
I propose to add a callback function similar to the 'revlink' config to [[WarningCountingShellCommand]], which returns an URL for a given warning. The generated HTML log file should then include this link.
Extra points when we can support the same for error messages! :-)
This ticket is a migrated Trac ticket 2926
People contributed to the original ticket: @unknown_contributor, @djmitche
Ticket created on:
Oct 06 2014
Ticket last modified on:
Oct 07 2014
Log files often contain references to source code.
(E.g. compiler errors and warnings start with
file:line:
)It would be a great help if those could be formatted as HTML links to a source code viewer.
Often the source code is already available online so that just the link has to be generated.
The
[[WarningCountingShellCommand]]
already tracks the working directory and extracts file name and line number from warnings, so we already have all the information for a proper link.I propose to add a callback function similar to the
'revlink'
config to[[WarningCountingShellCommand]]
, which returns an URL for a given warning. The generated HTML log file should then include this link.Extra points when we can support the same for error messages! :-)
Comment from: @dustin
Date:
Oct 06 2014
Cool idea! Does "I propose" mean you're working on this?
Comment from: @unknown_contributor
Date:
Oct 07 2014
Well, I'm interested in this, but I don't know when I can dedicate some time for it.
The text was updated successfully, but these errors were encountered: