bash-language-server icon indicating copy to clipboard operation
bash-language-server copied to clipboard

Sourcing: support basic variable expansions

Open skovhus opened this issue 2 years ago • 1 comments

https://github.com/bash-lsp/bash-language-server/pull/244 introduced sourcing aware symbol resolution where source commands (e.g. . myfile.sh or source ./file.bash) is used for figure out which symbols are available in a given context.

The current implementation is fairly crude and can be extended a bit to resolve basic variable expansions and sourcing statements in functions and loops.

skovhus avatar Jan 05 '23 19:01 skovhus

With #673 we now just miss basic variable expansion support.

skovhus avatar Jan 11 '23 21:01 skovhus