Skip to content
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

ux - display maven and gradle dependencies with pattern 'groupId:artifactId:version ' #859

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

mamilic
Copy link

@mamilic mamilic commented Oct 16, 2024

This MR referes to the issue, #857

@mamilic
Copy link
Author

mamilic commented Oct 16, 2024

Hi @jdneo , this is my view of the implementation for #857, though I am not fully satisfied with changes, as I had to introduce getLabel() method to ExplorerNode. It seems that this only works for Maven, as when gradle project is loaded, the jdtls is not recognizing dependencies as Gradle, instead it is. :/
image

Could you please take a look and let me know what I might have done better? Also, is there a requirement to test his functionality?

src/views/containerNode.ts Outdated Show resolved Hide resolved
@jdneo jdneo added the enhancement New feature or request label Oct 17, 2024
CONTRIBUTING.md Show resolved Hide resolved
src/views/packageRootNode.ts Outdated Show resolved Hide resolved
@mamilic
Copy link
Author

mamilic commented Oct 18, 2024

@microsoft-github-policy-service agree

CONTRIBUTING.md Show resolved Hide resolved
@@ -34,6 +34,10 @@ export class PrimaryTypeNode extends DataNode {
return "";
}

public getLabel(): string {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of introducing getLabel() into all different types. What about directly set the displayName at java side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants