4 ms·
Some starter ideas[0] beyond spacing/line numbers. BNF format is used to describe a programming language. treesitter[5] as a text editor plug in makes use of
by sargstuff 2y ago
Some starter ideas[0] beyond spacing/line numbers.
BNF format is used to describe a programming language. treesitter[5] as a text editor plug in makes use of a language BNF description to be able to know how to parse & format a given lanuage in a text editor (aka pygments[1], gnu source code hightlights[2], clangformat[3], neovim with treesitter[4], zed[6]). aka searching google "treesitter work with microsoft notepade"
---
[0] : http://softwarerecs.stackexchange.com/questions/34387/multilanguage-source-code-reformatter-beautifier-pretty-printer http://softwarerecs.stackexchange.com/questions/34387/multil...
[1] : pygments : http://pygments.org/ http://pygments.org/
[2] : gnu source code highlights : http://www.gnu.org/software/src-highlite/source-highlight.html#Using-source_002dhighlight-as-a-simple-formatter http://www.gnu.org/software/src-highlite/source-highlight.ht...
[3] : clang format : http://clang.llvm.org/docs/ClangFormat.html http://clang.llvm.org/docs/ClangFormat.html
[4] : linux text editor under windows example reference : http://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support http://github.com/nvim-treesitter/nvim-treesitter/wiki/Windo...
[5] : http://tree-sitter.github.io/tree-sitter/ http://tree-sitter.github.io/tree-sitter/
[6] : zed : http://zed.dev/ http://zed.dev/