Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

Atom understands your code better than ever before

Blog post from GitHub

Post Details
Company
Date Published
Author
Max Brunsfeld
Word Count
512
Language
English
Hacker News Points
-
Summary

GitHub has developed Tree-sitter, a sophisticated parsing system integrated into the Atom text editor, to enhance code readability and writing by maintaining a syntax tree that accurately represents the structure of code in real-time. Unlike traditional text editors that rely on simple pattern recognition, Tree-sitter offers improved syntax highlighting and reliable code folding based on actual code syntax rather than indentation. This system supports syntax-aware selection with new editing commands and enables incremental parsing to avoid delays in syntax highlighting updates while typing. Currently, Tree-sitter supports 11 programming languages, with plans to expand further, and GitHub encourages community involvement and feedback to refine and extend its capabilities.