Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Log LinkerNew to Visual Studio Code? Get it now.
Log Linker

Log Linker

Adrian Fulias

|
2 installs
| (0) | Free
Helps to directly open source files from logs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Log Linker

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

  1. 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.
  1. Text highlights:  text select the text + right click → Toggle Highlight

⚙️ Configuration

The extension offers two settings that can be customized in settings.json:

{
  // File extensions treated as logs
  "logLinker.logFileExtensions": [".out", ".k3.txt"],

  // Source file extensions recognized in logs
  "logLinker.supportedExtensions": [".hpp", ".cpp", ".ttcn3"]
}

🔧 Known issues

  • 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft