-
Notifications
You must be signed in to change notification settings - Fork 64
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
vhdl_ls.toml for Language Server client #44
Comments
Do people really want to depend so much on the local workstation environment? Should not third party dependencies be explicitly managed? I mean to me it seems like a source of problems where the language server points to one version of VUnit/OSVVM when another one is in fact in use when running from command line. In my opinion one should strive for single source of information and then it seems strange that this configuration should be embedded in a language server plugin which is unlikely to be the source for your build script or compile script. Also in the future maybe Wouldn't it be better if the vscode extension offered to change the users vhdl_ls.toml in the HOME folder instead? |
For the The main goal for me is to at least meet (what I believe is) the user's expectation that the And, yes I agree that the fewer sources of information there are, the better it is. Feel free to close the issue. |
I think we should strive for the standard and ieee libraries to be part of a "vhdl ls" installation toghether with and with the same lifecycle as the vhdl_ls binary. The vhdl_ls binary would be able to find them via a relative path. The main reason I have not done it yet is the unclear legal situation around ieee-libaries but maybe it is nothing to worry about since GHDL ships them after all. |
They recently (not sure when) changed the copyright for the IEEE libraries (bold part my emphasis). My interpretation is that at least the 2008 libraries downloaded from IEEE SA can now be freely distributed .
|
Yes now I remember. They allow |
I tried the download there. It seems to work. The only problem is it is missing std_logic_textio. |
Maybe we can make an "installation" script that copies the IEEE-files from GHDL-repo. |
IEEE libraries are now open source, and there is a GitLab repo. AFAIK, those bugs are expected to be fixed in |
This seems to be the upstream: https://opensource.ieee.org/vasg/Packages But Lars' fork has some more recent commits: https://gitlab.com/LarsAsplund/ieee-open-packages |
But that is the 2019 VHDL packages? They may contain thins that are above 2008? |
The current status of the repo should be VHDL 2008 only. Precisely, it was commented in October 4, 2019 12:19 AM that it would be desirable to have a release/tag before introducing features from VHDL 2019 only. As @LarsAsplund commented (October 4, 2019 8:11 AM), it is still not decided whether to maintain a single branch or keep the one for VHDL 2008 alive. |
In that case I think we should have a CI job that creates a release package with Rust HDL binary together with standard and ieee libraries. The vhdl_ls binary would automatically add std and ieee libraries without vhdl_ls.toml config. Then we can publish this release to GitHub and extensions such as VSCode can download this release. If desirable we can also build docker images on top of the release. If anyone want to help out with this I would appreciate it. |
Please, open an issue with the requirements: targets OSs, versions of Rust, deps/assets that need to be retrieved, etc. |
I made the following issue: #45 |
I've started to implement support for standard libraries, vendor libraries and some of the more prominent open source libraries (e.g. VUnit) in VHDL LS. I would like to do this by letting the extension maintain its own vhdl_ls.toml file. The user would be able to select which libraries to enable (including install dirs in some cases) and the client then generates a vhdl_ls.toml pointing out the standard/vendor libraries. The generated file would be local to the project (stored somewhere in .vscode). To do this I need a way to pass this file to vhdl_ls. I believe that the easiest way is as a command line parameter to vhdl_ls but I'm open for any suggestions.
Suggestion:
Add a command line parameter to vhdl_ls to point out a specific vhdl_ls.toml, priority according to list below:
The text was updated successfully, but these errors were encountered: