Skip to content

Specify modelica libraries path in LSP initialization options#34

Open
prabhpreet wants to merge 1 commit intoOpenModelica:mainfrom
prabhpreet:library-support
Open

Specify modelica libraries path in LSP initialization options#34
prabhpreet wants to merge 1 commit intoOpenModelica:mainfrom
prabhpreet:library-support

Conversation

@prabhpreet
Copy link
Copy Markdown

This PR modifies language server to accept library paths from initialization options via both modelicaPath and libraries key-values. It filters the configured values to non-empty strings, resolve them to file URIs, and load each library during server initialization so configured Modelica paths are available to the analyzer.

This lets clients provide library paths up front so the analyzer has access to configured Modelica libraries immediately after startup.

Accept library paths from initialization options via both modelicaPath and libraries. Filter the configured values to non-empty strings, resolve them to file URIs, and load each library during server initialization so configured Modelica paths are available to the analyzer.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 27, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants