mrjosh / helm-ls

⎈ Language server for Helm ⎈
MIT License
238 stars 15 forks source link

Symbol tables #72

Closed qvalentin closed 6 months ago

qvalentin commented 7 months ago

Major refactoring of hover, completion and definition. By parsing the template ast into a symbol table that contains info about which nodes have semantic meaning.

The symbol table currently contains info about:

With the symbol table many usecases became much easier to implement, since a lot of the required parsing is already done. This also allowed adding the references usecase pretty easy. The refactoring of the usecases allows for adding new features very easy without having a lot of, if-else like before.