VHDL-LS / rust_hdl_vscode

VHDL Language Support for VSCode
MIT License
54 stars 17 forks source link

No action on hover. #21

Closed m-kru closed 3 years ago

m-kru commented 4 years ago

There is not action on hover, no pop with additional information. Is this because of lack of support in rust_hdl, or because lack of support in this repository?

Bochlin commented 4 years ago

Lack of support in rust_hdl. I have actually made a local test for a hover implementation for the server but have not made a pull request yet. I have an open PR kraigher/rust_hdl#75 for outline which I would like to finish first. In that PR there are functions which can be used for the hover to extract snippets from the code.

m-kru commented 4 years ago

What is semi_token representing?

Bochlin commented 4 years ago

The semi colon at the end of the statement or declaration. If you have a deeper look into the code, you will find that there will be comments attached to this token, which could be used for "documentation" comments in the hover.

kraigher commented 3 years ago

Hover is now supported in the language server