- Notifications
You must be signed in to change notification settings - Fork35
CodeEditApp/CodeEditLanguages
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A collection oftree-sitter
languages for syntax highlighting.
This package includes a binary frameworkCodeLanguagesContainer.xcframework
which bundles alltree-sitter
languages in a single binary to greatly reduce SPM package resolution times.
The languages are then served as aCodeLanguage
.
This package heavily depends onSwiftTreeSitter byMatt Massicotte.
The documentation including a guide on how to add support for new languages can be foundhere!
There are severallanguage grammars available fortree-sitter. Many of them are already supported inCodeEditLanguages
. In order to usesyntax-highlighting with those grammars, they need to supply ahighlights.scm
file. Grammars for which this file does not exist yet, are marked withnot 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 inCodeEditLanguages
availablehere.
If you want to add support for another language, please file anissue 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 | ✅ | ✅ |
![]() CodeEdit | ![]() CodeEditSourceEditor | ![]() CodeEditTextView | ![]() CodeEditCLI | ![]() CodeEditKit |
About
A Collection of Tree-Sitter Parsers for Syntax Highlighting
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors10
Uh oh!
There was an error while loading.Please reload this page.