vscode-oniguruma
Oniguruma Bindings for VS Code (by microsoft)
lighter
The syntax highlighter used by Code Hike. (by code-hike)
Our great sponsors
vscode-oniguruma | lighter | |
---|---|---|
3 | 1 | |
105 | 73 | |
5.7% | - | |
4.1 | 7.0 | |
27 days ago | 26 days ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vscode-oniguruma
Posts with mentions or reviews of vscode-oniguruma.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-01.
-
Building a syntax highlighting extension for VS Code
Luckily, there is a project that has fitted my needs perfectly: vscode-grammar-test. It’s a command line tool that builds on the VS Code regex engine and grammar file parser and allows to run unit tests directly against a given grammar file.
-
Dark mode with Shiki and Code Hike
Shiki does this because the underlying library vscode-textmate or vscode-oniguruma returns black if the value is not a valid color. This explains why Code Hike uses blackish color codes instead of variables. But what if we write a variable directly into the theme instead of the color code.
-
Developer Diaries: How We Built a Better Browser-Based IDE with Monaco
More specifically, we’re using [vscode-oniguruma](https://github.com/microsoft/vscode-oniguruma), which is made by Microsoft. But this introduced yet another problem: Integrating TextMate into Monaco typically requires hacks of some kind, and introduces some flaws into the experience.
lighter
Posts with mentions or reviews of lighter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-29.
-
Dark mode with Shiki and Code Hike
Warning: This article refers to versions of Code Hike before 0.8.0. Since version 0.8.0, Code Hike uses lighter instead of Shiki. The approach presented in this article uses shiki's color replacement method, which no longer works with lighter.
What are some alternatives?
When comparing vscode-oniguruma and lighter you can also consider the following projects:
vscode-textmate - A library that helps tokenize text using Text Mate grammars.
oniguruma - regular expression library
convert-sh-theme
shiki - A beautiful yet powerful syntax highlighter
Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.
codehike - Marvellous code walkthroughs
Tailwind CSS - A utility-first CSS framework for rapid UI development.