Skip to content

feat: add raw log syntax highlighting#728

Merged
lcottercertinia merged 2 commits intocertinia:mainfrom
lukecotter:feat-raw-log-syntax-highlightning
Feb 12, 2026
Merged

feat: add raw log syntax highlighting#728
lcottercertinia merged 2 commits intocertinia:mainfrom
lukecotter:feat-raw-log-syntax-highlightning

Conversation

@lukecotter
Copy link
Contributor

@lukecotter lukecotter commented Feb 12, 2026

📝 PR Overview

Adds syntax highlighting for Apex debug log files .

🛠️ Changes made

  • Add TextMate grammar (apexlog.tmLanguage.json) for Apex log syntax highlighting via text.log scope
  • If the SF replay debugger is install it will use that highlighting, if not uses the default vscode highlighting for .log files.
  • Update CHANGELOG with syntax highlighting entry

🧩 Type of change (check all applicable)

  • ✨ New feature – adds new functionality

🔗 Related Issues

N/A

✅ Tests added?

📚 Docs updated?

  • 📝 CHANGELOG updated

Anything else we need to know?

The TextMate grammar currently delegates to VS Code's built-in text.log scope for basic log highlighting (timestamps, log levels). This can be extended later with Apex-log-specific patterns (event names, timestamps, etc.) for richer highlighting. The replay debugger overrides the built in vscode one though from what I can tell.

- If the replay debugger is installed the syntax highlighting in that extension will be used.
- If not then the default vscode highlighting for .log files will be.
@lukecotter lukecotter changed the title feat: add syntax highlighting and improve Apex log detection feat: add raw log syntax highlighting Feb 12, 2026
@lcottercertinia lcottercertinia merged commit 0539fe9 into certinia:main Feb 12, 2026
5 checks passed
@lukecotter lukecotter deleted the feat-raw-log-syntax-highlightning branch February 12, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants