SkillAgentSearch skills...

CodeEditLanguages

A Collection of Tree-Sitter Parsers for Syntax Highlighting

Install / Use

/learn @CodeEditApp/CodeEditLanguages
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src="https://github.com/CodeEditApp/CodeEditLanguages/assets/806104/a0ba0924-ed56-483d-b29e-a19134738d7e" height="128" alt="CodeEditLanguages Icon"> <h1 align="center">CodeEditLanguages</h1> </p> <p align="center"> <a aria-label="Follow CodeEdit on Twitter" href="https://twitter.com/CodeEditApp" target="_blank"> <img alt="" src="https://img.shields.io/badge/Follow%20@CodeEditApp-black.svg?style=for-the-badge&logo=Twitter"> </a> <a aria-label="Join the community on Discord" href="https://discord.gg/vChUXVf9Em" target="_blank"> <img alt="" src="https://img.shields.io/badge/Join%20the%20community-black.svg?style=for-the-badge&logo=Discord"> </a> <a aria-label="Read the Documentation" href="https://codeeditapp.github.io/CodeEditLanguages/documentation/codeeditlanguages" target="_blank"> <img alt="" src="https://img.shields.io/badge/Documentation-black.svg?style=for-the-badge&logo=readthedocs&logoColor=blue"> </a> </p>

A collection of tree-sitter languages for syntax highlighting.

Github Tests GitHub Repo stars GitHub forks Discord Badge

Overview

This package includes a binary framework CodeLanguagesContainer.xcframework which bundles all tree-sitter languages in a single binary to greatly reduce SPM package resolution times.

The languages are then served as a CodeLanguage.

SwiftTreeSitter

This package heavily depends on SwiftTreeSitter by Matt Massicotte.

Documentation

The documentation including a guide on how to add support for new languages can be found here!

Supported Languages

There are several language grammars available for tree-sitter. Many of them are already supported in CodeEditLanguages. In order to use syntax-highlighting with those grammars, they need to supply a highlights.scm file. Grammars for which this file does not exist yet, are marked with not available below. This file has to be added to the grammar's repo directly.

In order to add support for additional languages we have a complete guide on how to implement them in CodeEditLanguages available here.

If you want to add support for another language, please file an issue first, so everyone knows that this is in progress.

| Grammar | Implemented | Syntax Highlighting | | -------------- | :---------: | :-----------------: | | Agda | ✅ | not available | | Bash | ✅ | ✅ | | C | ✅ | ✅ | | C++ | ✅ | ✅ | | C# | ✅ | ✅ | | CSS | ✅ | ✅ | | Dart | ✅ | ✅ | | Dockerfile | ✅ | ✅ | | Elixir | ✅ | ✅ | | ERB, EJS | | | | Go | ✅ | ✅ | | Haskell | ✅ | ✅ | | HTML | ✅ | ✅ | | Java | ✅ | ✅ | | JavaScript/JSX | ✅ | ✅ | | JSDoc | ✅ | ✅ | | JSON | ✅ | ✅ | | Julia | ✅ | not available | | Kotlin | ✅ | ✅ | | Lua | ✅ | ✅ | | Markdown | ✅ | ✅ | | Objective C | ✅ | ✅ | | OCaml | ✅ | ✅ | | Plain Text | ✅ | not available | | Perl | ✅ | not available | | PHP | ✅ | ✅ | | Python | ✅ | ✅ | | Regex | ✅ | ✅ | | Ruby | ✅ | ✅ | | Rust | ✅ | ✅ | | Scala | ✅ | ✅ | | Sql | ✅ | ✅ | | Swift | ✅ | ✅ | | TOML | ✅ | ✅ | | TypeScript/TSX | ✅ | ✅ | | Verilog | ✅ | not available | | YAML | ✅ | ✅ | | Zig | ✅ | ✅ |

Related Repositories

<table> <tr> <td align="center"> <a href="https://github.com/CodeEditApp/CodeEdit"> <img src="https://github.com/CodeEditApp/CodeEdit/blob/main/.github/CodeEdit-Icon-128@2x.png?raw=true" width="128" height="128"> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CodeEdit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> </a> </td> <td align="center"> <a href="https://github.com/CodeEditApp/CodeEditSourceEditor"> <img src="https://github.com/CodeEditApp/CodeEditSourceEditor/blob/main/.github/CodeEditSourceEditor-Icon-128@2x.png?raw=true" width="128" height="128"> <p>CodeEditSourceEditor</p> </a> </td> <td align="center"> <a href="https://github.com/CodeEditApp/CodeEditSourceEditor"> <img src="https://github.com/CodeEditApp/CodeEditTextView/blob/main/.github/CodeEditTextView-Icon-128@2x.png?raw=true" width="128" height="128"> <p>CodeEditTextView</p> </a> </td> <td align="center"> <a href="https://github.com/CodeEditApp/CodeEditCLI"> <img src="https://github.com/CodeEditApp/CodeEditCLI/blob/main/.github/CodeEditCLI-Icon-128@2x.png?raw=true" height="128"> <p>CodeEditCLI</p> </a> </td> <td align="center"> <a href="https://github.com/CodeEditApp/CodeEditKit"> <img src="https://github.com/CodeEditApp/CodeEditKit/blob/main/.github/CodeEditKit-Icon-128@2x.png?raw=true" width="128" height="128"> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CodeEditKit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> </a> </td> </tr> </table>
View on GitHub
GitHub Stars130
CategoryDevelopment
Updated1d ago
Forks44

Languages

Swift

Security Score

80/100

Audited on Mar 26, 2026

No findings