I'm using vhdltool along with emacs lsp mode and lsp-ui. So far, so good.
However, in the hover, I see a "Keyword : signal" and "Could not find identifier : std_logic" or similar all the time.
Is there a way to suppress this information ?
Thanks,
Hi,
I'm using vhdltool along with emacs lsp mode and lsp-ui. So far, so good.
However, in the hover, I see a "Keyword : signal" and "Could not find identifier : std_logic" or similar all the time.
Is there a way to suppress this information ?
Thanks,
To properly fix the "Could not find identifier" problem, you should point vhdl-tool to the IEEE libraries, as described here: http://www.vhdltool.com/configuration. That will tell it what a "std_logic" is.
There is no way to tell vhdl-tool to suppress hover info, that's up to the language client frontend. There should be a configuration option for lsp-ui to disable it.
To properly fix the "Could not find identifier" problem, you should point vhdl-tool to the IEEE libraries, as described here: http://www.vhdltool.com/configuration. That will tell it what a "std_logic" is.
There is no way to tell vhdl-tool to suppress hover info, that's up to the language client frontend. There should be a configuration option for lsp-ui to disable it.
Great, thanks ! For the record regarding first issue, I'm using /usr/lib/ghdl/src/ieee2008/*.vhdl, and it fixes it.
Concerning the hover info, I have an option under emacs to suppress it all, but not part of it (I only need to get rid of the Keyword messages). I'm not sure if this is server or client related, I'll try to investigate further on from the client side, and let you know if find something.
Great, thanks ! For the record regarding first issue, I'm using /usr/lib/ghdl/src/ieee2008/*.vhdl, and it fixes it.
Concerning the hover info, I have an option under emacs to suppress it all, but not part of it (I only need to get rid of the Keyword messages). I'm not sure if this is server or client related, I'll try to investigate further on from the client side, and let you know if find something.
I have just updated to 0.13. I didn't notice any option to disable keyword information in hover, is it already there ? Just in case I just bypass it.
Thanks,
I have just updated to 0.13. I didn't notice any option to disable keyword information in hover, is it already there ? Just in case I just bypass it.
Thanks,
Hi,
I'm using vhdltool along with emacs lsp mode and lsp-ui. So far, so good.
However, in the hover, I see a "Keyword : signal" and "Could not find identifier : std_logic" or similar all the time.
Is there a way to suppress this information ?
Thanks,
To properly fix the "Could not find identifier" problem, you should point vhdl-tool to the IEEE libraries, as described here: http://www.vhdltool.com/configuration. That will tell it what a "std_logic" is.
There is no way to tell vhdl-tool to suppress hover info, that's up to the language client frontend. There should be a configuration option for lsp-ui to disable it.
Great, thanks ! For the record regarding first issue, I'm using /usr/lib/ghdl/src/ieee2008/*.vhdl, and it fixes it.
Concerning the hover info, I have an option under emacs to suppress it all, but not part of it (I only need to get rid of the Keyword messages). I'm not sure if this is server or client related, I'll try to investigate further on from the client side, and let you know if find something.
So - you want all hover information except when its a keyword?
That's server related. I will add an option for that in the next release.
That's correct. Thanks, I'll test when ready.
I have just updated to 0.13. I didn't notice any option to disable keyword information in hover, is it already there ? Just in case I just bypass it.
Thanks,