CodeEditLanguages

0.1.19

A Collection of Tree-Sitter Parsers for Syntax Highlighting
CodeEditApp/CodeEditLanguages

What's New

0.1.19

2024-04-24T15:39:59Z

What's Changed

New Contributors

Full Changelog: 0.1.18...0.1.19

CodeEditLanguages Icon

CodeEditLanguages

A collection of tree-sitter languages for syntax highlighting.

Github Tests Documentation 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

        CodeEdit        

CodeEditSourceEditor

CodeEditTextView

CodeEditCLI

     CodeEditKit     

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Fri Dec 13 2024 10:58:47 GMT-1000 (Hawaii-Aleutian Standard Time)