VS Code Extensions
GH Copilot Request Log Tools

GH Copilot Request Log Tools

by harrybin

Formatter and syntax highlighting for Copilot request artifacts captured from log files, especially system prompt sections.

Downloads

21

Rating

— (0)

Version

0.1.8

Last updated

Jun 11, 2026

VS Code extension for:

  • Formatting Copilot request artifacts extracted from GitHub Copilot logs
  • Syntax highlighting for common Copilot log request structures, especially system prompt blocks

Supported files

  • *.copilotlog
  • *.cplog
  • copilot-system.copilotlog

Features

  • Document formatter for language copilot-log-request
  • Frontmatter normalization (ordering and spacing)
  • Body normalization (trailing whitespace and blank-line compaction)
  • Auto-detection for untitled files when content matches Copilot log request patterns
  • Command to force language mode on any open file: Copilot Log Request: Use Copilot Log Request Language For Active Document
  • Highlighting for:
    • Frontmatter delimiters and keys
    • Section markers like --- System --- or ### System
    • Placeholders like {{VSCODE_TARGET_SESSION_LOG}} and ${input:htmlFile}

Build

npm install
npm run compile

Package and publish

  1. Create a local token file from template:
cp .env.template .env
  1. Set your Marketplace token in .env:
MARKETPLACE_TOKEN=your_vscode_marketplace_pat
  1. Package a VSIX:
npm run package:vscode
  1. Publish to VS Code Marketplace:
npm run publish:vscode

Notes:

  • publish:vscode matches the visuals-mcp token style by reading MARKETPLACE_TOKEN from .env.
  • In CI, VSCE_PAT is also supported as a fallback.

Run in VS Code

  1. Open this folder in VS Code.
  2. Press F5 to launch Extension Development Host.
  3. Open examples/sample.copilotlog and run Format Document.
  4. For unsaved files (Untitled-*), run the command above if auto-detection does not switch language mode yet.

Related extensions