-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with user language server location. #23
Comments
You must have a library mapping for goto definition etc to work. Without library mapping only syntax is checked. Map your files using a vhdl_ls.toml file. |
I have vhdl_ls.toml, with embedded vhdl_ls everything works. The problem arises when I try to use user language server location. |
See this build flag: VHDL-LS/rust_hdl#51 |
This is something different. I am building with |
Ok, it is somehow related to the TermLogger::init(
LevelFilter::Trace,
ConfigBuilder::new()
.set_time_format_str("%d %b %T:%3f")
.set_level_padding(LevelPadding::Left)
.to_owned()
.build(),
TerminalMode::Stdout
)
.unwrap(); and build the @kraigher any ideas what might be going on? |
The problem is you are logging to stdout in a language server that uses stdout to communicate to the client with json rpc. |
I have cloned rust_hdl and built it locally. In the Vhdlls settings I have user language server location. I have provided correct path. Based on the logs from vhdl_ls I can see, that it receives requests and sends responses:
However, if I right click on the entity name, type name etc. in the VSCode the
Go to Definition
,Go to Declaration
,Go to References
etc. are gone. Do you know what might be wrong? @kraigher maybe you know what is going on?The text was updated successfully, but these errors were encountered: