js3-mode
A chimeric fork of js2-mode and js-mode (by tamzinblake)
tsx-mode.el
a batteries-included Emacs major mode for Typescript, Javascript, TSX, and JSX files (by orzechowskid)
js3-mode | tsx-mode.el | |
---|---|---|
1 | 6 | |
181 | 98 | |
- | - | |
10.0 | 4.7 | |
about 7 years ago | 8 months ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
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.
js3-mode
Posts with mentions or reviews of js3-mode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
tsx-mode.el
Posts with mentions or reviews of tsx-mode.el.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
-
Please contribute to Tree-Sitter based JavaScript and TypeScript Modes in GNU Emacs core
tsx-mode: https://github.com/orzechowskid/tsx-mode.el
-
Anyone have multiple language syntax highlighting with treesitter working?
it's not a general-purpose multi-language solution, but tsx-mode (disclaimer: I'm the author) tries to support TSX plus a few flavors of CSS-in-JS. I use it every day at work and I'd be curious to know if it suits your needs.
-
New to Emacs having problems with Treesitter
(use-package tree-sitter :ensure t :config (global-tree-sitter-mode) (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode) ;; by default, typescript-mode is mapped to the treesitter typescript parser ;; use our derived mode to map .tsx -> typescriptreact-mode -> treesitter tsx (add-to-list 'tree-sitter-major-mode-language-alist '(typescriptreact-mode . tsx)) ;; if you want to look into better tsx and ts intendation support, consider ;; https://github.com/orzechowskid/tsx-mode.el ;; https://github.com/orzechowskid/tsi.el
- js-mode, js2-mode, javascript-mode... which one?
- tsx-mode.el: a batteries-included major mode for TSX/JSX files
-
[ANN] tsx-mode.el: a batteries-included major mode for Typescript/TSX
I've been throwing together bits of elisp over the past few months and it's sort of turned into a tiny little major mode for Typescript (and Javascript) webapp files: https://github.com/orzechowskid/tsx-mode.el
What are some alternatives?
When comparing js3-mode and tsx-mode.el you can also consider the following projects:
js2-mode - Improved JavaScript editing mode for GNU Emacs
ultimate-js-mode - An major mode for working with JS/JSX/TS/TSX files in Emacs
jtsx - Extends Emacs JSX/TSX built-in support.
tsi.el - treesitter-based indendentation for emacs 28 and 27
uhtml - A micro HTML/SVG render
web-mode - web template editing mode for emacs
htm - Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.