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

Earthfile Syntax Highlighting

Earthly

|
18,129 installs
| (2) | Free
Syntax highlighting for Earthly build Earthfiles.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

earthfile-syntax-highlighting

Earthly

Syntax highlighting for Earthly Earthfiles.

For an introduction of Earthly see the Earthly GitHub repository or the Earthly documentation.

How to Test

# Build & Install the package
earthly +local-install --VSCODE_RELEASE_TAG=${VERSION}

How to Release

  1. Check what the next version should be by looking what is already published
  2. Set the version to publish:
    export VSCODE_RELEASE_TAG=${NEW_VERSION_HERE}
    
  3. Make sure that the new version has release notes already in the README
  4. Run:
    earthly +release --VSCODE_RELEASE_TAG=${VSCODE_RELEASE_TAG}
    
  5. Finally, tag git for future reference
    git tag "vscode-syntax-highlighting-$VSCODE_RELEASE_TAG"
    git push origin "vscode-syntax-highlighting-$VSCODE_RELEASE_TAG"
    

troubleshooting

  • If VSCE_TOKEN token has expired, Vlad can regenerate one following this guide and then setting it using ./earthly secrets set /earthly-technologies/vsce/token '...'

  • If OVSX_TOKEN token has expired, Nacho can regenerate one following this guide and then setting it using ./earthly secrets set /earthly-technologies/ovsx/token '...'

Release Notes

Changelog

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