vscode-maven icon indicating copy to clipboard operation
vscode-maven copied to clipboard

Request to add a setting to display the artifactId in maven explorer

Open qzi opened this issue 3 years ago • 6 comments

Suggestion

Request to add a setting to display the project name as <artifactId></artifactId> in maven explorer, although it display the <name></name>

Use Cases

In the Java extension pack from Red Hat, they use artifactId to distinguish project in multiple-root workspace. we have to change the artifactId in multiple project in workspace. But in the mean time, maven explorer display the <name> only, if the maven extension can set to display the artifactId, too. it should be perfect that we need not change the <name> but < artifactId>.

Examples

You can see that if we can display the artifactid, we needn't too wide to distinguish different projects and order it better image

qzi avatar Sep 10 '22 23:09 qzi

https://github.com/microsoft/vscode-maven/blob/09cb9349da2a6beeca86bb2ce0b45497b0f235e7/package.json#L733-L744

Use setting maven.explorer.projectName. We should update README accordingly.

Eskibear avatar Sep 12 '22 15:09 Eskibear

@Eskibear

Thanks for your support, another question is that how can I set the format in light grey following

image

qzi avatar Sep 12 '22 16:09 qzi

No you can't for the moment.

Eskibear avatar Sep 13 '22 02:09 Eskibear

another question is that how can I set the format in light grey following

So what do you want it to show if we support customization?

Eskibear avatar Sep 27 '22 05:09 Eskibear

@Eskibear Can we identify the project using folder name + artifactID and also give us a option to display the folder name?

Currently this plugin identify multiple root projects using artifactID. not robust enough

image

qzi avatar Sep 29 '22 16:09 qzi

This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Dec 02 '22 00:12 github-actions[bot]