-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Improvement] - Change dependency jar naming to 'groupId:artifactId:version' for maven projects #857
Comments
Sounds a valid request |
@jdneo , is this perhaps good first issue? |
@mamilic If we can easily get the group id, artifact id and version from the jar files, then this should be a good first issue. I need to find some time to investigate it. It would be great if you are willing to have a try :) |
@jdneo , I can try. But if you have any hints where to look, please let me know. Thanks! |
It seems that you are correct, however as I observed we would always have MANIFEST.MF. Could it be possible that JDTLS somehow proivides more info about the jars/dependencies? Also, I am wondering how may I run the extension in debug mode, when I try to launch it from VSCode it starts but then throws Do I need to do some presteps in order to run it? |
Oh, sorry the contributing doc is missing for this repo. You need to run If you want to debug java code in https://github.com/microsoft/vscode-java-dependency/tree/main/jdtls.ext/com.microsoft.jdtls.ext.core/src, you need to install https://marketplace.visualstudio.com/items?itemName=yaozheng.vscode-pde. And reload your vscode after the installation. Then when you debugging the extension, run The code to get the jar files is at: Line 312 in 6ee1c6b
|
@jdneo , thanks for guidance! I've managed to get the Java Projects show Maven Dependecies in format groupId:artifactId:version, however they are not sorted alphabetically. What would be your approach for this? |
I guess you can add a sort logic at
|
Fixed by #859 |
As of now Referenced libraries are shown as list with jar names, and sometimes it is hard to guess what that is, for example we have core-3.4.0.jar, or context-2.3.2.jar, picture below.
Is it possible that to have something which intellij uses, to have groupId:artifactId:version?
The text was updated successfully, but these errors were encountered: