-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Description
To my knowledge, integrating OSVVM libraries with the VS Code VHDL Language Server currently requires manually defining libraries and file paths in the .vhdl_ls.toml file.
Therefore, I propose a TCL-based solution (this could also be implemented in Python, but maintaining TCL preserves consistency with the existing OSVVM scripting workflow). The feature would parse OSVVM build.pro files recursively, starting from the main OsvvmLibraries.pro, and automatically generate the corresponding .toml library configuration for VS Code.
Motivation
- Reduce manual configuration for VHDL LS
- Ensure
.tomlalways matches OSVVM build structure - Improve developer onboarding and reproducibility
- Enable scalable integration as new OSVVM libraries are added
Proposed Behavior
- Parse the root
OsvvmLibraries.profile - Recursively follow
includedirectives - Collect all analyzed VHDL source files
- Group files by library
- Generate or update
.vhdl_ls.tomlautomatically
Example Workflow
- Run the TCL setup script, which invokes the procedure responsible for generating or updating
.vhdl_ls.toml. - The script parses the OSVVM
.prohierarchy recursively, resolvinginclude,use, andanalyzedirectives. - All discovered VHDL source files are grouped by library and written into
.vhdl_ls.toml, keeping the VS Code VHDL LS configuration synchronized with the OSVVM build structure.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels