tsi.el
treesitter-based indendentation for emacs 28 and 27 (by orzechowskid)
jtsx
Extends Emacs JSX/TSX built-in support. (by llemaitre19)
tsi.el | jtsx | |
---|---|---|
5 | 3 | |
47 | 74 | |
- | - | |
0.0 | 7.9 | |
almost 2 years ago | 3 days 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.
tsi.el
Posts with mentions or reviews of tsi.el.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-27.
-
Does Anyone Have A Working Emacs Config For Indenting JSX Files On The Fly?
I've been building out tsi.el - an emacs minor mode which performs indentation based on a CST returned by tree-sitter. please give it a try if you haven't already, and if you have tried it and it did not meet your needs then I'd love to hear why not!
-
A new SML mode for Emacs built on (a new Standard ML grammar for) tree-sitter
I'd really like to see something that combines the conciseness of SMIE's rule-based indentation system with tree-sitter's richer grammar. There are a couple of projects that I'm looking at, such as https://codeberg.org/FelipeLema/tree-sitter-indent.el and https://github.com/orzechowskid/tsi.el).
-
New to Emacs having problems with Treesitter
;; use our derived mode for tsx files (add-to-list 'auto-mode-alist '("\.tsx\'" . typescriptreact-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)) ;; https://github.com/orzechowskid/tsi.el/ ;; great tree-sitter-based indentation for typescript/tsx, css, json (quelpa '(tsi :fetcher github :repo "orzechowskid/tsi.el")) (add-hook 'typescript-mode-hook (lambda () (tsi-typescript-mode 1)))) ```
-
Really sick of the shoddy jsx/tsx handling....would anyone be willing to help me write a major-mode for it?
what are your specific problems? lsp, typescript-mode, and tree-sitter-mode together give me 90% of what I need. I fixed JSX/TSX indentation with a little tool I built (which I should really get around to publishing some day). I'm extremely happy with this setup and use it every day on professional and personal projects.
jtsx
Posts with mentions or reviews of jtsx.
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
jtsx: https://github.com/llemaitre19/jtsx
- jtsx: Extends Emacs JSX/TSX built-in support.
What are some alternatives?
When comparing tsi.el and jtsx you can also consider the following projects:
tree-sitter-typescript - TypeScript grammar for tree-sitter
rjsx-mode - A JSX major mode for Emacs
tsx-mode.el - a batteries-included Emacs major mode for Typescript, Javascript, TSX, and JSX files
smelt - Forging Standard ML (SML) in emacs
scopeline.el - Show info about the block at the end of the block
combobulate - Structured Editing and Navigation in Emacs with Tree-Sitter
ultimate-js-mode - An major mode for working with JS/JSX/TS/TSX files in Emacs
eglot - A client for Language Server Protocol servers
elisp-tree-sitter - Emacs Lisp bindings for tree-sitter
tree-edit - 🌲 Structural editing in Emacs for any™ language!