vscode-java-dependency icon indicating copy to clipboard operation
vscode-java-dependency copied to clipboard

Open non-java files by name

Open Drakmyth opened this issue 5 years ago • 2 comments

I can search for files in dependencies with a workspace symbol search by prefixing the class name with a #. This is generally sufficient as class names should be the same as file names. However, there doesn't seem to be a way to search for non-java files in a dependency via the Ctrl+P menu (if I wanted to access a dependency's log4j2.xml file for example). Is there a way to search for these files, or is this a feature that could be added?

Drakmyth avatar Mar 07 '20 19:03 Drakmyth

The symbol search(#) is actually provided by the Java Language Server's search engine. I'll check if it is possible or not and update here.

jdneo avatar Mar 12 '20 01:03 jdneo

Update:

Unfortunately, it's not supported to search a resource in dependencies. What we currently supported are:

  • Search Java symbols (ctrl + T)
  • Search files in workspace (ctrl +P)

But we will consider to support this in the future.

jdneo avatar Mar 16 '20 07:03 jdneo