Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Email Headers HighlightingNew to Visual Studio Code? Get it now.
Email Headers Highlighting

Email Headers Highlighting

Jacob Latonis

|
70 installs
| (1) | Free
This language extension serves as a syntax highlighter that enables quicker analysis of email headers
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

email-headers-highlight

This extension allows for highlighting the syntax of email headers in .eml files and plaintext. It is a custom syntax highlighting extension for Visual Studio Code written with tmlanguage grammar.

Features

The extension highlights the syntax of email headers in .eml files and plaintext. It also highlights the following for easy readability and quicker analysis:

  • DMARC results
  • DKIM results
  • SPF results
  • ip addresses
  • domains
  • email addresses
  • timestamps
  • ... and more

email-headers-highlight

Requirements

There are no external requirements or dependencies for this extension.

Extension Settings

The extension will work with both light and dark themes.

All of the color settings can be customized in VS Code settings. The following is an example if you wish to change the default color settings:

{
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": "entity.name.ip.address",
        "settings": {
          "foreground": "#FF0000"
        }
      },
      {
        "scope": "entity.name.email.address",
        "settings": {
          "foreground": "#00FF00",
          "fontStyle": "italic"
        }
      },
      {
        "scope": "variable.other.readwrite.variablecolon",
        "settings": {
          "foreground": "#0000FF",
          "fontStyle": "bold underline"
        }
      },
      {
        "scope": "entity.name.emailsec.pass",
        "settings": {
          "foreground": "#008B8B"
        }
      },
      {
        "scope": "entity.name.emailsec.fail",
        "settings": {
          "foreground": "#B22222"
        }
      },
      {
        "scope": "string.quoted.double.email",
        "settings": {
          "foreground": "#A31515"
        }
      },
      {
        "scope": "constant.character.escape.email",
        "settings": {
          "foreground": "#B5CEA8"
        }
      },
      {
        "scope": "entity.name.domain.address",
        "settings": {
          "foreground": "#A31515"
        }
      }
    ]
  }
}

Known Issues

There are no known issues currently.

Release Notes

See CHANGELOG.MD

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