Bracket-Pair-Colorizer-2
rainbow-delimiters
Our great sponsors
Bracket-Pair-Colorizer-2 | rainbow-delimiters | |
---|---|---|
9 | 6 | |
722 | 656 | |
- | - | |
0.5 | 2.3 | |
about 3 years ago | 8 months ago | |
TypeScript | Emacs Lisp | |
MIT License | GNU General Public License v3.0 only |
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.
Bracket-Pair-Colorizer-2
- VS Code Extensions For Python Developers.
-
How We Made Bracket Pair Colorization 10,000x Faster
The original developer doesn't sound too worried and seems to have collaborated on the feature: https://github.com/CoenraadS/Bracket-Pair-Colorizer-2/issues...
Plus it helps him getting rid of 399 open issues.
-
Why was the Brackets Pair Colorizer extension archived?
It works mostly, but there are still a few bugs, such as escaped brackets in Python's f-strings not working, as noted in CoenraadS/Bracket-Pair-Colorizer-2#156 (the issue I was originally looking up).
-
Scoped indentation highlighting
Is there a way to do something like what they have in VSCode? https://github.com/CoenraadS/Bracket-Pair-Colorizer-2
rainbow-delimiters
-
Y'all deserve a medal or something
I'm a big fan of rainbow-delimiters, available on Melpa.
-
Template Engine Minor Modes?
rainbow-delimiters ( https://github.com/Fanael/rainbow-delimiters/ ) does this for parenthesis/braces etc but is somewhat bound to the syntax tree of whatever major mode is currently in use, it also scans on a per-character basis, where I'd need to scan for regex.
-
Tree Sitter and the Complications of Parsing Languages
> Lighting up the active scopes
As you had guessed a little later, there are a few different emacs packages that do this. One of them is "rainbow parentheses" that gives every bracket a different colour (remember that emacs supports lisp, so differentiating between lots of different parentheses is arguably more useful in emacs than any other editor). [0].
Another one is highlight parentheses [1] which highlights all parens that enclose the cursor position, and gives a darker colour to those "further away" from the cursor.
[0] https://github.com/Fanael/rainbow-delimiters
[1] https://sr.ht/~tsdh/highlight-parentheses.el/
-
How We Made Bracket Pair Colorization 10,000x Faster
This article is especially interesting to me, as it shows how VS Code still doesn't have the "Emacs nature". Even though I'm a 30-year Emacs user, I do hesitate to recommend it to younger programmers because it's so alien, and VS Code has one of the essential characteristics of Emacs: the extension language and the implementation language are the same. But this article is a great example of how it doesn't — extensions are limited to using an extension API, rather than having full access to the application's internals. Maybe a good thing, if you're a mass-market product worried about malicious extensions. But I'll note that [rainbow-delimiters-mode](https://github.com/Fanael/rainbow-delimiters/) dates back to 2010, and has never noticeably slowed down loading or display of source files, even in languages with lots of delimiters like Lisp.
-
Practical questions from a lisp beginner
Using highlight-parentheses-mode, which is an additional package, helps. There are also show-paren-mode (build in) and rainbow-delimiters (additional package), whose could help there.
- Humanoid themes updated with many new faces, fixes and color adjustments; constructive feedback welcome!
What are some alternatives?
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
Visual Studio Code - Visual Studio Code
vscode-extension-samples - Sample code illustrating the VS Code extension API.
vscode-python - Python extension for Visual Studio Code
rainbow-blocks - block syntax highlighting in emacs
emacs-noob - A curated emacs set up intended to decrease the learning curve
vscode-jupyter - VS Code Jupyter extension
emacs-humanoid-themes - Light and dark theme with bright colors for Emacs that supports GUI and terminal
dark - Darklang main repo, including language, backend, and infra
atom-focus-mode - Atom editor extension - fades editor content and highlights only the lines you are working on