tree-sitter-typescript
TypeScript grammar for tree-sitter (by tree-sitter)
vim-jsx-typescript
React JSX syntax highlighting for vim and Typescript (by peitalin)
tree-sitter-typescript | vim-jsx-typescript | |
---|---|---|
11 | 1 | |
387 | 305 | |
4.1% | - | |
8.2 | 0.0 | |
23 days ago | almost 4 years ago | |
JavaScript | Vim Script | |
MIT License | The Unlicense |
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.
tree-sitter-typescript
Posts with mentions or reviews of tree-sitter-typescript.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-14.
-
Mastering JSX Editing in Emacs with Tree-sitter
Now, let's dive into some practical editing functions implemented using Tree-sitter. Keep in mind that all the functions are specific to the tree-sitter-typescript parser and only work in the Emacs 29 built-in tsx-ts-mode.
- Let's write an Emacs treesitter major mode
-
How to make `goto_next_test` and `goto_prev_test` work?
I believe goto_next_test requires support from the tree-sitter parser, specifically tree-sitter-javascript in the case of JS and tree-sitter-typescript in the case of TS.
- Emacs and Java Development: Corfu + Cape + LSP-Mode + Treesit
- Building tree-sitter languages for Emacs
-
Is there an official language spec and/or lexical grammar for TS?
If you need to do efficient AST operations, have you considered treesitter? There is a typescript grammar available https://github.com/tree-sitter/tree-sitter-typescript
- tree-sitter-typescript: TypeScript grammar for tree-sitter
-
Really sick of the shoddy jsx/tsx handling....would anyone be willing to help me write a major-mode for it?
I am curious though, why did you write your own indentation tool? (It works super well btw, amazing work) I thought tree-sitter supported tsx (and found repos like this) so just wondering if you tried those and they didn't work so you wrote your own.
-
Treesitter : Proposal for more precise syntax highlighting
Please have a look at it - https://github.com/tree-sitter/tree-sitter-typescript/issues/177
-
Plugins to help writing a new tree-sitter parser?
You can see a much more in-depth version at https://github.com/tree-sitter/tree-sitter-typescript or https://github.com/tree-sitter/tree-sitter-rust
vim-jsx-typescript
Posts with mentions or reviews of vim-jsx-typescript.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-16.
What are some alternatives?
When comparing tree-sitter-typescript and vim-jsx-typescript you can also consider the following projects:
tree-sitter-haskell - Haskell grammar for tree-sitter.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-jsx-improve - Syntax and indent plugin for React jsx.
swc - Rust-based platform for the Web
typescript-vim - Typescript syntax files for Vim
tsi.el - treesitter-based indendentation for emacs 28 and 27
vim-scriptease - scriptease.vim: A Vim plugin for Vim plugins
tree-sitter-c-sharp - C# Grammar for tree-sitter
vim-jsx-pretty - :flashlight: [Vim script] JSX and TSX syntax pretty highlighting for vim.
tree-sitter-python - Python grammar for tree-sitter
tree-sitter-graphql - Treesitter grammar for GraphQL
tree-sitter-typescript vs tree-sitter-haskell
vim-jsx-typescript vs nvim-treesitter
tree-sitter-typescript vs nvim-treesitter
vim-jsx-typescript vs vim-jsx-improve
tree-sitter-typescript vs swc
vim-jsx-typescript vs typescript-vim
tree-sitter-typescript vs tsi.el
vim-jsx-typescript vs vim-scriptease
tree-sitter-typescript vs tree-sitter-c-sharp
vim-jsx-typescript vs vim-jsx-pretty
tree-sitter-typescript vs tree-sitter-python
tree-sitter-typescript vs tree-sitter-graphql