Log Linker is an extension for Visual Studio Code that recognizes log files and converts source file names (e.g. .cpp, .ttcn3) into clickable links.
When you ctrl+click on a file name, it opens directly in the workspace, at the specified line in the log.
Also helps to easily highlight text in the logs.
✨ Features
Log Linker
Recognizes log files with the extensions .out and .k3.txt (configurable).
Finds matches of type file.cpp:line or file.ttcn3:line in logs.
Makes filenames clickable.
On Ctrl+Click:
searches for the file in the workspace;
opens it at the indicated line;
if the log is opened in split view, the file opens in the opposite side.
Text highlights: text select the text + right click → Toggle Highlight
⚙️ Configuration
The extension offers two settings that can be customized in settings.json:
File will always open on the right-most window-split. Or will create one.
If you have 2 files in your workspace with exactly the same name, it may not open the correct file. You can easily spot this because you will not see the log instruction.
📬 Contact
For questions, feedback, bug reports, or feature requests, please open an issue on GitHub.