-
Notifications
You must be signed in to change notification settings - Fork 65
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
Library work
not allowed anymore
#355
Comments
Work can still be used in VHDL You don't need to change your VHDL files to use VHDL-LS, refering to modules as However, |
Thanks for the reply. I’m aware that work is not really a library, but I tried naming it defaultlib in the vhdl_ls.toml and it didn’t work. The language server did not recognize anything imported as work. How does vhdl_ls know what is the ”current library”? |
When you have a [libraries]
libA.files = [
"foo.vhd",
"bar.vhd",
]
libB.files = [
"baz.vhd",
"foobar.vhd",
] When you edit |
Hi!
I work in a project where library 'work' is expected to be used globally for all files. After updating vhdl_ls it does not work anymore since the library 'work' is not allowed in the vhdl_ls.toml anymore.
I tried building vhdl_ls locally and just remove the check in
vhdl_lang/src/config.rs
that returns an error ifwork
is used, and that seems to work.What was the reason to disallow this?
If you cant remove it again, would it be possible to have a config option to allow library
work
again?The text was updated successfully, but these errors were encountered: