Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Add support for findTextInDependencyJars. #433

Open
ckipp01 opened this issue Oct 12, 2021 · 0 comments
Open

Add support for findTextInDependencyJars. #433

ckipp01 opened this issue Oct 12, 2021 · 0 comments
Labels
feature New feature or request

Comments

@ckipp01
Copy link
Member

ckipp01 commented Oct 12, 2021

Describe the feature

This was recently added in Metals as a way to search through dependency jars for values in configurations values. This is useful for example if you want to see some default Akka timeout values or something set in a dep.

Potential ways to implement?

You can see the way I implemented this here in nvim-metals: https://github.com/scalameta/nvim-metals/pull/247/files

The general flow would be:

  1. User triggers this
  2. User gets prompt for file mask
  3. User gets prompt for search
  4. Search goes in and returns results
  5. Display results just like you'd do for references

Additional context

This was added in scalameta/metals#3093

@ckipp01 ckipp01 added the feature New feature or request label Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant