nickg / nvc

VHDL compiler and simulator
https://www.nickg.me.uk/nvc/
GNU General Public License v3.0
624 stars 76 forks source link

LSP Server #453

Closed pidgeon777 closed 1 month ago

pidgeon777 commented 2 years ago

First of all, congratulation on the project.

It would be great for nvc to also act as an LSP server.

Any plan for the future?

nickg commented 2 years ago

I've thought about this before and I think it would be a useful feature. But right now I'm focussing on improving VHDL-2008 support and maybe basic Verilog after that.

pidgeon777 commented 2 years ago

Hopefully, it will be implemented one day.

It would be an extremely useful feature to have, especially in modern IDEs (for example, Visual Studio Code, Neovim...).

nickg commented 1 month ago

Going to convert this to a discussion as I don't have plans to add this any time soon and a language server requires quite a different type of parser that can cope gracefully with partial input. In the meantime there is rust_hdl which is a dedicated VHDL language server.