SaaSHub helps you find the best software and product alternatives Learn more →
Tree-sitter-c Alternatives
Similar projects and alternatives to tree-sitter-c
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a better tree-sitter-c alternative or higher similarity.
tree-sitter-c discussion
tree-sitter-c reviews and mentions
Posts with mentions or reviews of tree-sitter-c.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-28.
- How to Get Started with Tree-Sitter
- Emacs and Java Development: Corfu + Cape + LSP-Mode + Treesit
-
GitHub code search is generally available
The feature isn't working well yet on C and C++. If I recall correctly it's based on Tree-Sitter[1] parsing, and there are still too many bugs in corresponding grammars - tree-sitter-c[2] and tree-sitter-cpp[3]. Hopefully, it will be greatly improved in the future as the share of the existing and newly written code in C and C++ is quite significant.
[1] https://tree-sitter.github.io/tree-sitter/
[2] https://github.com/tree-sitter/tree-sitter-c/issues
[3] https://github.com/tree-sitter/tree-sitter-cpp/issues
-
Indent 8 spaces
[[language]] name = "c" scope = "source.c" injection-regex = "c" file-types = ["c"] # TODO: ["h"] roots = [] comment-token = "//" language-server = { command = "clangd" } indent = { tab-width = 8, unit = " " } [language.debugger] name = "lldb-vscode" transport = "stdio" command = "lldb-vscode" [[language.debugger.templates]] name = "binary" request = "launch" completion = [ { name = "binary", completion = "filename" } ] args = { console = "internalConsole", program = "{0}" } [[language.debugger.templates]] name = "attach" request = "attach" completion = [ "pid" ] args = { console = "internalConsole", pid = "{0}" } [[language.debugger.templates]] name = "gdbserver attach" request = "attach" completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ] args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] } [[grammar]] name = "c" source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd5fc1cee660dce6fe23f6043d75af424a" }
- Building tree-sitter languages for Emacs
-
treesitter printf format highlighting?
There's no way to highlight format specs currently, since the treesitter C grammar doesn't specify them. You could open an issue on the tree-sitter-c repo.
-
Tree-sitter: an incremental parsing system for programming tools
[1] https://github.com/tree-sitter/tree-sitter-c/issues/51
-
A note from our sponsor - SaaSHub
www.saashub.com | 14 Jan 2025
Stats
Basic tree-sitter-c repo stats
7
251
8.2
17 days ago
tree-sitter/tree-sitter-c is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of tree-sitter-c is JavaScript.
Popular Comparisons
- tree-sitter-c VS csharp-mode
- tree-sitter-c VS tree-sitter-ruby
- tree-sitter-c VS tree-sitter-vue
- tree-sitter-c VS Moose
- tree-sitter-c VS tree-sitter-cpp
- tree-sitter-c VS tree-sitter-kotlin
- tree-sitter-c VS tree-sitter-php
- tree-sitter-c VS tree-sitter-rust
- tree-sitter-c VS tree-sitter-make
- tree-sitter-c VS nvim-treesitter