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

Add support for findTextInDependencyJars. #433

@ckipp01

Description

@ckipp01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions