-
Notifications
You must be signed in to change notification settings - Fork 33
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
LSP: Share module search paths between the TLAPS and SANY. #323
Comments
@lemmy, what do you think of this plan:
I have to solve this for the TLAPS integration, because it will fail if some non-TLAPS-stdlib modules are used in a spec. Also, I have to use these paths if I want to integrate the SANY parser in the TLAPS LSP server for better error messages. |
Sounds good to me assuming you are proposing to let the extension be the "facilitator of paths" between the various tools. How the tools make use of the path information is then up to the tool. For example, TLAPS adds its path information to the extension, and TLC is given this information when it launches. What are the precedence rules WRT a tool's default lookup path and the extension's configuration property? |
I think the tool should prioritize its internal library (e.g., the TLC prioritizes the modules contained in tlatools.jar). |
This might require tool changes as, IIRC, a library path that is passed to TLC takes precedence over TLC's internal library path. |
The TLAPS LSP server should support path sharing both ways:
Maybe related to:
The text was updated successfully, but these errors were encountered: