forked from qt-creator/qt-creator
ProjectExplorer: Support column numbers in file path linkification
... for task details. As a result, clicking on a linkified file path inside a task in the issues pane will now open the editor at the column specified in the compiler output, if there is one. We used to consider only the line. Change-Id: Idccba33b5b33029abfa8f29c7888af6c7f2e1622 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -56,7 +56,7 @@ inline Utils::OutputLineParser::LinkSpecs MesonOutputParser::addTask(
|
||||
fileName,
|
||||
match.captured(lineNumberCapIndex).toInt());
|
||||
addTask(task);
|
||||
addLinkSpecForAbsoluteFilePath(linkSpecs, task.file, task.line, match, 1);
|
||||
addLinkSpecForAbsoluteFilePath(linkSpecs, task.file, task.line, task.column, match, 1);
|
||||
#else
|
||||
Q_UNUSED(type);
|
||||
Q_UNUSED(line);
|
||||
|
||||
Reference in New Issue
Block a user