OpenModelica / modelica-language-server

A VS Code language server extension for Modelica.
Other
5 stars 2 forks source link

Store trees #8

Closed AnHeuermann closed 5 months ago

AnHeuermann commented 9 months ago

Description

Generating trees for Modelica files is fast but parsing all standard libraries on every startup isn't any more. Tree-Sitter trees tend to be very large, about 10 times the size of the original file.

Desired Features

AnHeuermann commented 5 months ago

See https://github.com/tree-sitter/tree-sitter/issues/824. In a nutshell it's faster to regenerate the tree.