Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic link from log file to source code #2871

Open
tardyp opened this issue Mar 9, 2017 · 0 comments
Open

Automatic link from log file to source code #2871

tardyp opened this issue Mar 9, 2017 · 0 comments
Labels
Milestone

Comments

@tardyp
Copy link
Member

tardyp commented Mar 9, 2017

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.

@tardyp tardyp added this to the 0.9.+ milestone Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants