You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IntelliJ has a nice feature "Attach sources..." that makes it possible to manually provide a jar/zip/directory with source code when there are no sources for a library dependency.
Metals could support the same feature via the workspace/didChangeConfiguration notifications.
By default, users would be able to manually list the sources in a JSON file while in editors like VS Code the Metals extension could expose a command to open a file picker UI and automatically update the config on behalf of the user.
A workaround for now is to manually edit the Bloop JSON files to add new objects to the resolution.modules key with a classifier: sources field.
The text was updated successfully, but these errors were encountered:
just for reference and brainstorming: automatically attach souces
this lets me omit the tedious step of manually attaching sources, since source jars from the libraries are automatically referenced in the project then.
IntelliJ has a nice feature "Attach sources..." that makes it possible to manually provide a jar/zip/directory with source code when there are no sources for a library dependency.
Metals could support the same feature via the
workspace/didChangeConfiguration
notifications.By default, users would be able to manually list the sources in a JSON file while in editors like VS Code the Metals extension could expose a command to open a file picker UI and automatically update the config on behalf of the user.
A workaround for now is to manually edit the Bloop JSON files to add new objects to the
resolution.modules
key with aclassifier: sources
field.The text was updated successfully, but these errors were encountered: