When viewing a referenced library that has a resource file, for example a png file, the png does not open because the jdt uri schema provided by redhat only supports java decompilation.
I think the best solution is most likely to check the file extension and, for any .java files, use jdt as normal, but for any other file, assume it is a resource, and use another schema, like jdt+resource, which can correctly handle extracting the file from the jar zip.
When viewing a referenced library that has a resource file, for example a png file, the png does not open because the jdt uri schema provided by redhat only supports java decompilation.
I think the best solution is most likely to check the file extension and, for any .java files, use jdt as normal, but for any other file, assume it is a resource, and use another schema, like jdt+resource, which can correctly handle extracting the file from the jar zip.