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

Reload language server when hdl-prj.json file changes

Open eine opened this issue 6 years ago • 0 comments

Related to #4 and #5.

Reproduction steps:

  • An hdl-prj.json is provided which contains paths to non-existing files.
  • A message is shown for each not found file, which is correct.
  • The hdl-prj.json is 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.json files for VUnit's array_axis_vcs example.

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

eine avatar Jul 12 '19 00:07 eine