Skip to content

✨ feat: log file tree sitter syntax #261

Description

@lcottercertinia

Is your feature request related to a problem?

The salesforce replay debugger has a syntax but what if I do not have that installed?

**What happens if two grammars are detected? **
It turns out that the last extension alphabetically wins.

We can add a grammar in our extension and get syntax highlighting when the replay debugger extension is not installed.
If a user has both extensions installed then the replay debugger syntax would take priority.
According to microsoft/vscode-docs#2862 there is no way to specify a preferred order.

Tree sitter grammars for vscode extensions are coming in the next few years
Vscode are also implementing tree sitter grammars atm which will be faster than text mate. We should use tree sitter once custom grammars are available.
microsoft/vscode#210475

As debug log tree sitter grammar already exists over at https://github.com/aheber/tree-sitter-sfapex

Activity

  1. added
    enhancement
    on May 4, 2023
  2. changed the title [-]feat: log file syntax highlight[/-] [+]feat: log file syntax highlighting[/+] on Apr 19, 2025
  3. changed the title [-]feat: log file syntax highlighting[/-] [+]feat: log file tree sitter syntax highlighting[/+] on Feb 3, 2026
  4. lcottercertinia commented on Feb 3, 2026

    @lcottercertinia
    CollaboratorAuthor
  5. added this to the blocked milestone on Feb 3, 2026
  6. changed the title [-]feat: log file tree sitter syntax highlighting[/-] [+]feat: log file tree sitter syntax[/+] on Jun 30, 2026
  7. changed the title [-]feat: log file tree sitter syntax[/-] [+]✨ feat: log file tree sitter syntax[/+] on Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedenhancement

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions