-
Notifications
You must be signed in to change notification settings - Fork 66
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
Allow inverse sources
request to ask for a list of targets
#455
Comments
I believe we also discussed dropping this request completely? Does any client use it? |
I confirm. Let's drop it! |
Metals does use it currently https://github.com/scalameta/metals/blob/main/metals/src/main/scala/scala/meta/internal/metals/BuildServerConnection.scala#L254 Why would it be neccessary to drop it? |
This was introduced in scalameta/metals@d9eb419 I presume needed for large Scala codebase initialy written in pants. |
So it seems we need it in Metals because Bloop/Pants can use glob patterns in their configurations to define source files. Maybe if we add glob pattern support in |
I guess globbing is something we'll want to add at some point to all requests |
if a server returns a dir as a source and user adds a file under this dir from the client pov this new file is under this build target |
As opposed to the sources request, inverse sources request requires users to query for each target separately
The text was updated successfully, but these errors were encountered: