ghdl-language-server
ghdl-language-server copied to clipboard
Reload language server when hdl-prj.json file changes
Related to #4 and #5.
Reproduction steps:
- An
hdl-prj.jsonis provided which contains paths to non-existing files. - A message is shown for each not found file, which is correct.
- The
hdl-prj.jsonis opened in VSC and it is fixed. - Nothing happens.
See https://github.com/ghdl/ghdl-language-server/issues/4#issue-457078827 for examples of valid and invalid
hdl-prj.jsonfiles for VUnit'sarray_axis_vcsexample.
I would expect hdl-prj.json to be reloaded (parsed again) after it is saved.
Unfortunately, VSC does not provide a 'reload language server' feature. It needs to be implemented in the extension. See https://github.com/microsoft/vscode/issues/76405