Skip to main content
TextMateSharp package icon

TextMateSharp

An interpreter for grammar files as defined by TextMate. TextMate grammars use the oniguruma dialect (https://github.com/kkos/oniguruma). Supports loading grammar files only from JSON format. Cross - grammar injections are currently not supported. TextMateSharp is a port of microsoft/vscode-textmate that brings TextMate grammars to dotnet ecosystem. The implementation is based the Java port eclipse/tm4e. TextMateSharp uses a wrapper around Oniguruma regex engine.

Total Downloads
1.0M
1,028,281
Published
Jun 2, 2025
Latest stable version

Install

.NET CLI
dotnet add package TextMateSharp --version 1.0.69
Package Manager Console
Install-Package TextMateSharp -Version 1.0.69
PackageReference
<PackageReference Include="TextMateSharp" Version="1.0.69" />

Frameworks

.NETStandard2.0

Dependencies

Onigwrap
.NETStandard2.0
[1.0.6, )
System.Text.Json
.NETStandard2.0
[8.0.5, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.